]> git.pld-linux.org Git - packages/geeqie.git/blob - 0001-Fix-829-segfault-with-clutter-gtk.patch
- removing unnecessary patches
[packages/geeqie.git] / 0001-Fix-829-segfault-with-clutter-gtk.patch
1 From f34ea0700048c27319a2256408171adda32a7580 Mon Sep 17 00:00:00 2001
2 From: Colin Clark <colin.clark@cclark.uk>
3 Date: Sat, 9 Jan 2021 11:35:41 +0000
4 Subject: [PATCH] Fix #829: segfault with clutter-gtk
5
6 https://github.com/BestImageViewer/geeqie/issues/829
7
8 This fix might cause other problems which might be cured by calling:
9 LIBGL_ALWAYS_INDIRECT=1 geeqie
10
11 or, worst case:
12 geeqie --disable-clutter
13 ---
14  src/main.c | 5 -----
15  1 file changed, 5 deletions(-)
16
17 diff --git a/src/main.c b/src/main.c
18 index 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 -- 
34 2.29.2
35
This page took 0.092154 seconds and 3 git commands to generate.