summaryrefslogtreecommitdiff
path: root/libre/lxappearance-obconf-gtk3/gtk3-theme-preview-segfault.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/lxappearance-obconf-gtk3/gtk3-theme-preview-segfault.patch')
-rw-r--r--libre/lxappearance-obconf-gtk3/gtk3-theme-preview-segfault.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/libre/lxappearance-obconf-gtk3/gtk3-theme-preview-segfault.patch b/libre/lxappearance-obconf-gtk3/gtk3-theme-preview-segfault.patch
new file mode 100644
index 000000000..1a7a53026
--- /dev/null
+++ b/libre/lxappearance-obconf-gtk3/gtk3-theme-preview-segfault.patch
@@ -0,0 +1,14 @@
+diff --git a/src/preview.c b/src/preview.c
+index ada6eb3..eb51629 100644
+--- a/src/preview.c
++++ b/src/preview.c
+@@ -815,6 +815,9 @@ GdkPixbuf *preview_theme(const gchar *name, const gchar *titlelayout,
+ RrFont *osd_active_font,
+ RrFont *osd_inactive_font)
+ {
++#if GTK_CHECK_VERSION(3, 0, 0)
++ return NULL; // avoid GTK3/cairo segfault (ticket #933)
++#endif
+
+ GdkPixbuf *preview;
+ GdkPixbuf *menu;