From 627f367837d3c6ce3ffa94f3d772b9e6faccb83c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Forysiuk?= Date: Thu, 28 Jun 2012 13:22:16 +0200 Subject: [PATCH] Apply dark-widgets-workaround style for win32 only for gtk2 builds --- midori/midori-websettings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midori/midori-websettings.c b/midori/midori-websettings.c index 78399f6c..85290d9b 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 }" -- 2.39.5