From: Theo B. <cyb...@us...> - 2007-03-16 03:24:32
|
Update of /cvsroot/yabause/yabause/src/gtk In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv3219 Modified Files: main.c Log Message: -Missed the brackets(whoops) Index: main.c =================================================================== RCS file: /cvsroot/yabause/yabause/src/gtk/main.c,v retrieving revision 1.29 retrieving revision 1.30 diff -u -d -r1.29 -r1.30 --- main.c 16 Mar 2007 02:44:42 -0000 1.29 +++ main.c 16 Mar 2007 03:24:31 -0000 1.30 @@ -303,6 +303,7 @@ gtk_widget_destroy(dialog); switch(result) { case GTK_RESPONSE_OK: + { GtkWidget* warningDlg = gtk_message_dialog_new (GTK_WINDOW(yui), GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, @@ -315,6 +316,7 @@ g_file_set_contents(inifile, g_key_file_to_data(keyfile, 0, 0), -1, 0); yui_settings_load(); break; + } case GTK_RESPONSE_CANCEL: g_key_file_load_from_file(keyfile, inifile, G_KEY_FILE_NONE, 0); break; |