[gtk/wip/otte/build: 5/6] x11: Remove unused headers




commit 9b9fb4c1535f57b5e62a197976e486f03b4274e2
Author: Benjamin Otte <otte redhat com>
Date:   Fri Apr 2 02:52:49 2021 +0200

    x11: Remove unused headers

 gdk/x11/gdkdrop-x11.c    | 3 ---
 gdk/x11/gdksurface-x11.c | 8 --------
 2 files changed, 11 deletions(-)
---
diff --git a/gdk/x11/gdkdrop-x11.c b/gdk/x11/gdkdrop-x11.c
index d9c1c4157f..3470382da7 100644
--- a/gdk/x11/gdkdrop-x11.c
+++ b/gdk/x11/gdkdrop-x11.c
@@ -45,9 +45,6 @@
 #include <X11/Xutil.h>
 #include <X11/Xatom.h>
 #include <X11/extensions/shape.h>
-#ifdef HAVE_XCOMPOSITE
-#include <X11/extensions/Xcomposite.h>
-#endif
 
 #include <string.h>
 
diff --git a/gdk/x11/gdksurface-x11.c b/gdk/x11/gdksurface-x11.c
index e4952f2c7b..8b5ea3c424 100644
--- a/gdk/x11/gdksurface-x11.c
+++ b/gdk/x11/gdksurface-x11.c
@@ -65,14 +65,6 @@
 #include <X11/XKBlib.h>
 #endif
 
-#ifdef HAVE_XCOMPOSITE
-#include <X11/extensions/Xcomposite.h>
-#endif
-
-#ifdef HAVE_XFIXES
-#include <X11/extensions/Xfixes.h>
-#endif
-
 const int _gdk_x11_event_mask_table[21] =
 {
   ExposureMask,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]