qtcurve-1.8.18-gtk2_segfault.patch 665 B

123456789101112131415
  1. https://github.com/QtCurve/qtcurve-gtk2/issues/3
  2. https://gist.github.com/anonymous/8e6e4ea32dabf03cf630
  3. --- qtcurve-1.8.18/gtk2/style/qtcurve.c
  4. +++ qtcurve-1.8.18/gtk2/style/qtcurve.c
  5. @@ -372,7 +372,7 @@
  6. } else if (!(qtSettings.app == GTK_APP_JAVA && widget &&
  7. GTK_IS_LABEL(widget))) {
  8. if (state != GTK_STATE_PRELIGHT || opts.crHighlight ||
  9. - strcmp(detail, "checkbutton") != 0) {
  10. + ( detail != NULL && strcmp(detail, "checkbutton") != 0 )) {
  11. parent_class->draw_flat_box(style, window, state, shadow, area,
  12. widget, detail, x, y, width, height);
  13. }