projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
756f29e
)
Drop unconditional Xlib dependency
author
Yar
<yaroslav.isakov@gmail.com>
Thu, 14 Jul 2022 08:03:30 +0000
(10:03 +0200)
committer
Colin Clark
<colin.clark@cclark.uk>
Sat, 16 Jul 2022 10:17:02 +0000
(11:17 +0100)
It was introduced
4eb2f5880956c8259d0b5e2084baf61a27ee82ad
, to support XInitThreads, but XInitThreads was dropped later. Nothing else in this file needs this header, but it fails to compile on X11-less systems
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
863e39a
..
e4a2627
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-66,11
+66,6
@@
#include <clutter-gtk/clutter-gtk.h>
#endif
-#ifdef HAVE_GTHREAD
-/** @FIXME see below */
-#include <X11/Xlib.h>
-#endif
-
gboolean thumb_format_changed = FALSE;
static RemoteConnection *remote_connection = NULL;