From a52fbce6f9708cc6455e4ba8937895860bb9d501 Mon Sep 17 00:00:00 2001 From: evilynux Date: Tue, 13 Feb 2007 16:49:49 +0000 Subject: [PATCH] This should fix the about dialog not closing on MS Windows. --- desmume/src/gtk-glade/callbacks.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/desmume/src/gtk-glade/callbacks.c b/desmume/src/gtk-glade/callbacks.c index 2b9a4d8f1..5e5ec3171 100755 --- a/desmume/src/gtk-glade/callbacks.c +++ b/desmume/src/gtk-glade/callbacks.c @@ -367,10 +367,12 @@ void on_menu_wtoolsXX_activate (GtkMenuItem *menuitem, gpointer user_data) /* MENU ? ***** ***** ***** ***** */ +/* About dialog + FIXME: We should add credits here... */ void on_menu_apropos_activate (GtkMenuItem *menuitem, gpointer user_data) { GtkAboutDialog * wAbout = (GtkAboutDialog*)glade_xml_get_widget(xml, "wAboutDlg"); gtk_about_dialog_set_version(wAbout, VERSION); - gtk_widget_show((GtkWidget*)wAbout); + gtk_dialog_run(wAbout); }