Drop unconditional Xlib dependency
authorYar <yaroslav.isakov@gmail.com>
Thu, 14 Jul 2022 08:03:30 +0000 (10:03 +0200)
committerColin 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

index 863e39a..e4a2627 100644 (file)
 #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;