diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-10-04 22:59:49 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-10-04 22:59:49 +0200 |
commit | c9ea4231d80ddb2751f3c99683521199363ae593 (patch) | |
tree | 4dd09128735516ac0805f6f7237e6d638cc54f06 /mixgtk/mixgtk_wm.c | |
parent | ad6f79190035e4a3c1961d5f9a1826fbbf8822ce (diff) | |
download | mdk-c9ea4231d80ddb2751f3c99683521199363ae593.tar.gz mdk-c9ea4231d80ddb2751f3c99683521199363ae593.tar.bz2 |
Fix for application exit (glade changes were too many)
Diffstat (limited to 'mixgtk/mixgtk_wm.c')
-rw-r--r-- | mixgtk/mixgtk_wm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mixgtk/mixgtk_wm.c b/mixgtk/mixgtk_wm.c index 749ecb6..93f64ca 100644 --- a/mixgtk/mixgtk_wm.c +++ b/mixgtk/mixgtk_wm.c @@ -29,6 +29,7 @@ #include "mixgtk_mixal.h" #include "mixgtk_widgets.h" #include "mixgtk_cmd_dispatcher.h" +#include "mixgtk_gen_handlers.h" #include "mixgtk.h" @@ -326,6 +327,11 @@ init_signals_ (void) G_CALLBACK (on_attach_toggled), NULL); } + GtkWindow *mainw = + GTK_WINDOW (mixgtk_widget_factory_get_dialog (MIXGTK_MAIN)); + + g_signal_connect (mainw, "destroy", + G_CALLBACK (on_file_exit_activate), NULL); } static void |