]> spindle.queued.net Git - midori/commitdiff
The dark themes are there since GTK+ 3.0 in fact
authorChristian Dywan <christian@twotoasts.de>
Sat, 17 Dec 2011 10:06:11 +0000 (11:06 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sat, 17 Dec 2011 10:06:11 +0000 (11:06 +0100)
The Since in the documentation is wrong.

midori/main.c

index 97cdde6e8c21e823c22d3ee7e30e8773988a2e31..3800457e0a890fce6bd0ec4f987b65d6302f15a4 100644 (file)
@@ -2177,7 +2177,7 @@ main (int    argc,
                           "strip-referer", TRUE, NULL);
             midori_browser_set_action_visible (browser, "Tools", FALSE);
             midori_browser_set_action_visible (browser, "ClearPrivateData", FALSE);
-            #if GTK_CHECK_VERSION (2, 22, 0)
+            #if GTK_CHECK_VERSION (3, 0, 0)
             g_object_set (gtk_widget_get_settings (GTK_WIDGET (browser)),
                           "gtk-application-prefer-dark-theme", TRUE,
                           NULL);