gtk_main();
if (reply==0) /* 0 for 'OK', 1 for 'Cancel', left -1 for dialog close. */
exit(EXIT_SUCCESS);
- /* This does not work (at least not in the static build): gnome_dialog_set_close(,TRUE); */
+ /* This does not work (at least not in the static build): gnome_dialog_set_close(,TRUE);
* in: libgnomeui-2.10.0-1
*/
gtk_widget_destroy(dialog);
gnome_dialog_set_close(GNOME_DIALOG(dialog),FALSE);
g_signal_connect((gpointer)dialog,"close",G_CALLBACK(gtk_main_quit),NULL);
gtk_main();
- /* This does not work (at least not in the static build): gnome_dialog_set_close(,TRUE); */
+ /* This does not work (at least not in the static build): gnome_dialog_set_close(,TRUE);
* in: libgnomeui-2.10.0-1
*/
gtk_widget_destroy(dialog);