From eb2fe4eb9174e20799e86a13d3056fbfc0f5269c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Sun, 9 Aug 2015 21:44:19 +0200 Subject: [PATCH] uxtheme-GTK_Theming: Improve forward compatibility for GTK 3.14. --- ...hemegtk-Correctly-render-buttons-with-GTK-3.14.0.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/patches/uxtheme-GTK_Theming/0004-uxthemegtk-Correctly-render-buttons-with-GTK-3.14.0.patch b/patches/uxtheme-GTK_Theming/0004-uxthemegtk-Correctly-render-buttons-with-GTK-3.14.0.patch index 9a9cce6f..48d82252 100644 --- a/patches/uxtheme-GTK_Theming/0004-uxthemegtk-Correctly-render-buttons-with-GTK-3.14.0.patch +++ b/patches/uxtheme-GTK_Theming/0004-uxthemegtk-Correctly-render-buttons-with-GTK-3.14.0.patch @@ -1,4 +1,4 @@ -From 00a03dba614dc158902fb9264e99f2f0cd3fd0ae Mon Sep 17 00:00:00 2001 +From 372cc1308fcae0aef6ba85e0a1944f2c939dd732 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Sun, 9 Aug 2015 21:09:50 +0200 Subject: uxthemegtk: Correctly render buttons with GTK >= 3.14.0. @@ -8,7 +8,7 @@ Subject: uxthemegtk: Correctly render buttons with GTK >= 3.14.0. 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/dlls/uxtheme-gtk/button.c b/dlls/uxtheme-gtk/button.c -index b4b2d02..f3918b1 100644 +index b4b2d02..b867448 100644 --- a/dlls/uxtheme-gtk/button.c +++ b/dlls/uxtheme-gtk/button.c @@ -29,6 +29,10 @@ @@ -16,7 +16,7 @@ index b4b2d02..f3918b1 100644 #include "wine/debug.h" +#if !GTK_CHECK_VERSION(3, 14, 0) -+# define GTK_STATE_FLAG_CHECKED 0 ++# define GTK_STATE_FLAG_CHECKED (1 << 11) +#endif + WINE_DEFAULT_DEBUG_CHANNEL(uxthemegtk); @@ -53,5 +53,5 @@ index b4b2d02..f3918b1 100644 case CBS_MIXEDDISABLED: return GTK_STATE_FLAG_INSENSITIVE | GTK_STATE_FLAG_INCONSISTENT; -- -2.5.0 +2.1.0