polynomial-c    15/07/16 07:31:24

  Added:                qtcurve-1.8.18-gtk2_segfault.patch
  Log:
  Revbump to fix a segfault in the gtk2 theme (bug #549292)
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
981CA6FC)

Revision  Changes    Path
1.1                  x11-themes/qtcurve/files/qtcurve-1.8.18-gtk2_segfault.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-themes/qtcurve/files/qtcurve-1.8.18-gtk2_segfault.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-themes/qtcurve/files/qtcurve-1.8.18-gtk2_segfault.patch?rev=1.1&content-type=text/plain

Index: qtcurve-1.8.18-gtk2_segfault.patch
===================================================================
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);
         }




Reply via email to