]> git.pld-linux.org Git - packages/geeqie.git/blame - 0001-Fix-829-segfault-with-clutter-gtk.patch
- removing unnecessary patches
[packages/geeqie.git] / 0001-Fix-829-segfault-with-clutter-gtk.patch
CommitLineData
d32f1792
KM
1From f34ea0700048c27319a2256408171adda32a7580 Mon Sep 17 00:00:00 2001
2From: Colin Clark <colin.clark@cclark.uk>
3Date: Sat, 9 Jan 2021 11:35:41 +0000
4Subject: [PATCH] Fix #829: segfault with clutter-gtk
5
6https://github.com/BestImageViewer/geeqie/issues/829
7
8This fix might cause other problems which might be cured by calling:
9LIBGL_ALWAYS_INDIRECT=1 geeqie
10
11or, worst case:
12geeqie --disable-clutter
13---
14 src/main.c | 5 -----
15 1 file changed, 5 deletions(-)
16
17diff --git a/src/main.c b/src/main.c
18index f497240d..4af654fe 100644
19--- a/src/main.c
20+++ b/src/main.c
21@@ -904,11 +904,6 @@ gint main(gint argc, gchar *argv[])
22 #ifdef HAVE_GTHREAD
23 #if !GLIB_CHECK_VERSION(2,32,0)
24 g_thread_init(NULL);
25-#endif
26-#ifdef HAVE_CLUTTER
27-/* FIXME: see below */
28- putenv("LIBGL_ALWAYS_INDIRECT=1");
29- XInitThreads();
30 #endif
31 gdk_threads_init();
32 gdk_threads_enter();
33--
342.29.2
35
This page took 0.116638 seconds and 4 git commands to generate.