This should fix the about dialog not closing on MS Windows.
This commit is contained in:
parent
fce25b7921
commit
a52fbce6f9
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue