This should fix the about dialog not closing on MS Windows.

This commit is contained in:
evilynux 2007-02-13 16:49:49 +00:00
parent fce25b7921
commit a52fbce6f9
1 changed files with 3 additions and 1 deletions

View File

@ -367,10 +367,12 @@ void on_menu_wtoolsXX_activate (GtkMenuItem *menuitem, gpointer user_data)
/* MENU ? ***** ***** ***** ***** */ /* MENU ? ***** ***** ***** ***** */
/* About dialog
FIXME: We should add credits here... */
void on_menu_apropos_activate (GtkMenuItem *menuitem, gpointer user_data) { void on_menu_apropos_activate (GtkMenuItem *menuitem, gpointer user_data) {
GtkAboutDialog * wAbout = (GtkAboutDialog*)glade_xml_get_widget(xml, "wAboutDlg"); GtkAboutDialog * wAbout = (GtkAboutDialog*)glade_xml_get_widget(xml, "wAboutDlg");
gtk_about_dialog_set_version(wAbout, VERSION); gtk_about_dialog_set_version(wAbout, VERSION);
gtk_widget_show((GtkWidget*)wAbout); gtk_dialog_run(wAbout);
} }