From: Christian Dywan Date: Mon, 7 Dec 2009 19:41:13 +0000 (+0100) Subject: Implement Quit in Midori in web application mode X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38205dd35194416fcdc1ae220bd304121d6cdb97;p=midori Implement Quit in Midori in web application mode --- diff --git a/midori/main.c b/midori/main.c index 961ef2ca..b87504be 100644 --- a/midori/main.c +++ b/midori/main.c @@ -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));