]> spindle.queued.net Git - midori/commitdiff
Implement Quit in Midori in web application mode
authorChristian Dywan <christian@twotoasts.de>
Mon, 7 Dec 2009 19:41:13 +0000 (20:41 +0100)
committerChristian Dywan <christian@twotoasts.de>
Mon, 7 Dec 2009 19:41:13 +0000 (20:41 +0100)
midori/main.c

index 961ef2ca593291df84239d6258324145d1aa01d9..b87504bee37d0424427d7ef5337afaa4b3ec316d 100644 (file)
@@ -1762,6 +1762,8 @@ main (int    argc,
             G_CALLBACK (midori_web_app_browser_notify_load_status_cb), NULL);
         midori_browser_add_uri (browser, webapp);
         g_object_set_data (G_OBJECT (browser), "locked", (void*)1);
+        g_signal_connect (browser, "quit",
+            G_CALLBACK (gtk_main_quit), NULL);
         g_signal_connect (browser, "destroy",
             G_CALLBACK (gtk_main_quit), NULL);
         gtk_widget_show (GTK_WIDGET (browser));