]> spindle.queued.net Git - midori/commitdiff
Disable developer extras in web app mode
authorChristian Dywan <christian@twotoasts.de>
Sun, 3 Jan 2010 22:00:27 +0000 (23:00 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 3 Jan 2010 22:00:27 +0000 (23:00 +0100)
midori/main.c

index 6efde2008cc27213a4d525ac587221f52ede38e7..a233ea7ec803b841d1055e61cb3c719816b167fc 100644 (file)
@@ -1777,9 +1777,10 @@ main (int    argc,
                       "toolbar-items", "Back,Forward,ReloadStop,Location",
                       "homepage", NULL,
                       "show-statusbar", TRUE,
+                      "enable-developer-extras", FALSE,
                       NULL);
-        g_object_unref (settings);
         g_object_set (browser, "settings", settings, NULL);
+        g_object_unref (settings);
         sokoke_set_config_dir ("/");
         g_signal_connect (browser, "notify::load-status",
             G_CALLBACK (midori_web_app_browser_notify_load_status_cb), NULL);