summaryrefslogtreecommitdiffhomepage
path: root/mixgtk
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-10-04 22:59:49 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-10-04 22:59:49 +0200
commitc9ea4231d80ddb2751f3c99683521199363ae593 (patch)
tree4dd09128735516ac0805f6f7237e6d638cc54f06 /mixgtk
parentad6f79190035e4a3c1961d5f9a1826fbbf8822ce (diff)
downloadmdk-c9ea4231d80ddb2751f3c99683521199363ae593.tar.gz
mdk-c9ea4231d80ddb2751f3c99683521199363ae593.tar.bz2
Fix for application exit (glade changes were too many)
Diffstat (limited to 'mixgtk')
-rw-r--r--mixgtk/mixgtk_wm.c6
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