From: Yar Date: Thu, 14 Jul 2022 08:03:30 +0000 (+0200) Subject: Drop unconditional Xlib dependency X-Git-Tag: gtk2final~1 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=3a1509b0b43b712ce7c05a1f6b9980cc3b70ffac Drop unconditional Xlib dependency 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 --- diff --git a/src/main.c b/src/main.c index 863e39a0..e4a26272 100644 --- a/src/main.c +++ b/src/main.c @@ -66,11 +66,6 @@ #include #endif -#ifdef HAVE_GTHREAD -/** @FIXME see below */ -#include -#endif - gboolean thumb_format_changed = FALSE; static RemoteConnection *remote_connection = NULL;