gtk3-theme-preview-segfault.patch 460 B

123456789101112131415
  1. diff --git a/src/preview.c b/src/preview.c
  2. index ada6eb3..eb51629 100644
  3. --- a/src/preview.c
  4. +++ b/src/preview.c
  5. @@ -815,6 +815,9 @@ GdkPixbuf *preview_theme(const gchar *name, const gchar *titlelayout,
  6. RrFont *osd_active_font,
  7. RrFont *osd_inactive_font)
  8. {
  9. +#if GTK_CHECK_VERSION(3, 0, 0)
  10. + return NULL; // avoid GTK3/cairo segfault (ticket #933)
  11. +#endif
  12. GdkPixbuf *preview;
  13. GdkPixbuf *menu;