Created
February 4, 2015 10:48
-
-
Save anonymous/8e6e4ea32dabf03cf630 to your computer and use it in GitHub Desktop.
qtcurve-gtk2.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -aur qtcurve-1.8.18/gtk2/style/qtcurve.c qtcurve-1.8.18.patched/gtk2/style/qtcurve.c | |
--- qtcurve-1.8.18/gtk2/style/qtcurve.c 2014-01-25 21:13:54.000000000 +0100 | |
+++ qtcurve-1.8.18.patched/gtk2/style/qtcurve.c 2015-02-02 18:05:22.348872008 +0100 | |
@@ -372,7 +372,7 @@ | |
} else if (!(qtSettings.app == GTK_APP_JAVA && widget && | |
GTK_IS_LABEL(widget))) { | |
if (state != GTK_STATE_PRELIGHT || opts.crHighlight || | |
- strcmp(detail, "checkbutton") != 0) { | |
+ ( detail != NULL && strcmp(detail, "checkbutton") != 0 )) { | |
parent_class->draw_flat_box(style, window, state, shadow, area, | |
widget, detail, x, y, width, height); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment