[Xfce4-commits] <midori:master> Apply dark-widgets-workaround style for win32 only for gtk2 builds

Christian Dywan noreply at xfce.org
Thu Jun 28 22:26:01 CEST 2012


Updating branch refs/heads/master
         to 627f367837d3c6ce3ffa94f3d772b9e6faccb83c (commit)
       from 8ddc7ac787bbcf3770872222b0206a18d8769c4a (commit)

commit 627f367837d3c6ce3ffa94f3d772b9e6faccb83c
Author: Paweł Forysiuk <tuxator at o2.pl>
Date:   Thu Jun 28 13:22:16 2012 +0200

    Apply dark-widgets-workaround style for win32 only for gtk2 builds

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

diff --git a/midori/midori-websettings.c b/midori/midori-websettings.c
index 78399f6..85290d9 100644
--- a/midori/midori-websettings.c
+++ b/midori/midori-websettings.c
@@ -1231,7 +1231,7 @@ midori_web_settings_init (MidoriWebSettings* web_settings)
         "* { -webkit-box-shadow: none !important; }");
     #endif
 
-    #if defined (_WIN32) && WEBKIT_CHECK_VERSION (1, 7, 1)
+    #if defined (_WIN32) && WEBKIT_CHECK_VERSION (1, 7, 1) && !GTK_CHECK_VERSION (3, 0, 0)
     /* Try to work-around black borders on native widgets and GTK+2 on Win32 */
     midori_web_settings_add_style (web_settings, "black-widgets-workaround",
     "input[type='checkbox'] { -webkit-appearance: checkbox !important }"


More information about the Xfce4-commits mailing list