projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efc5347
)
Fix #829: segfault with clutter-gtk
author
Colin Clark
<colin.clark@cclark.uk>
Sat, 9 Jan 2021 11:35:41 +0000
(11:35 +0000)
committer
Colin Clark
<colin.clark@cclark.uk>
Sat, 9 Jan 2021 11:35:41 +0000
(11:35 +0000)
https://github.com/BestImageViewer/geeqie/issues/829
This fix might cause other problems which might be cured by calling:
LIBGL_ALWAYS_INDIRECT=1 geeqie
or, worst case:
geeqie --disable-clutter
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
f497240
..
4af654f
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-904,11
+904,6
@@
gint main(gint argc, gchar *argv[])
#ifdef HAVE_GTHREAD
#if !GLIB_CHECK_VERSION(2,32,0)
g_thread_init(NULL);
-#endif
-#ifdef HAVE_CLUTTER
-/* FIXME: see below */
- putenv("LIBGL_ALWAYS_INDIRECT=1");
- XInitThreads();
#endif
gdk_threads_init();
gdk_threads_enter();