summaryrefslogtreecommitdiffhomepage
path: root/mixgtk
diff options
context:
space:
mode:
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