[Xfce4-commits] <midori:master> The dark themes are there since GTK+ 3.0 in fact

Christian Dywan noreply at xfce.org
Sat Dec 17 16:52:04 CET 2011


Updating branch refs/heads/master
         to e2816612c540513d8cd5ea1ad082cdc070e06fc4 (commit)
       from cd8cb17b9ed24ca7e907bf00da44a34883a1f072 (commit)

commit e2816612c540513d8cd5ea1ad082cdc070e06fc4
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sat Dec 17 11:06:11 2011 +0100

    The dark themes are there since GTK+ 3.0 in fact
    
    The Since in the documentation is wrong.

 midori/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/midori/main.c b/midori/main.c
index 97cdde6..3800457 100644
--- a/midori/main.c
+++ b/midori/main.c
@@ -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);


More information about the Xfce4-commits mailing list