diff options
Diffstat (limited to 'x11-themes/qtcurve/files/qtcurve-1.8.18-gtk2_segfault.patch')
-rw-r--r-- | x11-themes/qtcurve/files/qtcurve-1.8.18-gtk2_segfault.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-themes/qtcurve/files/qtcurve-1.8.18-gtk2_segfault.patch b/x11-themes/qtcurve/files/qtcurve-1.8.18-gtk2_segfault.patch new file mode 100644 index 000000000000..b4a2f1a44610 --- /dev/null +++ b/x11-themes/qtcurve/files/qtcurve-1.8.18-gtk2_segfault.patch @@ -0,0 +1,14 @@ +https://github.com/QtCurve/qtcurve-gtk2/issues/3 +https://gist.github.com/anonymous/8e6e4ea32dabf03cf630 + +--- qtcurve-1.8.18/gtk2/style/qtcurve.c ++++ qtcurve-1.8.18/gtk2/style/qtcurve.c +@@ -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); + } |