Add missing gtk_message_dialog_new() argument, pointed out by Strontium.

This commit is contained in:
riccardom 2008-11-28 22:38:11 +00:00
parent 8233f57bfa
commit cfdf51a915
1 changed files with 2 additions and 2 deletions

View File

@ -372,8 +372,8 @@ user_data)
(GtkDialogFlags) (GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT), (GtkDialogFlags) (GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT),
GTK_MESSAGE_INFO, GTK_MESSAGE_INFO,
GTK_BUTTONS_CLOSE, GTK_BUTTONS_CLOSE,
text "%s",
); text);
g_signal_connect(G_OBJECT(msgbox), "response", G_CALLBACK(gtk_widget_destroy), NULL); g_signal_connect(G_OBJECT(msgbox), "response", G_CALLBACK(gtk_widget_destroy), NULL);
gtk_dialog_run( msgbox ); gtk_dialog_run( msgbox );