diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/window.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c index d2cf6cb..8f0d5c6 100644 --- a/src/window.c +++ b/src/window.c @@ -69,9 +69,8 @@ mq_window_new(MqApplication *application, gchar **uris) window->window = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_default_size(GTK_WINDOW(window->window), 1024, 768); - /* TODO: Don't quit on window close */ g_signal_connect(window->window, "destroy", - G_CALLBACK(gtk_main_quit), NULL); + G_CALLBACK(mq_application_delete_window), application); window->notebook = gtk_notebook_new(); gtk_notebook_set_scrollable(GTK_NOTEBOOK(window->notebook), TRUE); |