diff options
author | Javier Jardón <jjardon@gnome.org> | 2019-11-24 21:33:25 +0900 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2019-12-01 00:11:24 +0900 |
commit | 70393e321cfd8b1e27e2c627793daeb43f478682 (patch) | |
tree | ffb07e5f12694a14255beacfa6dd6dcf0bebc9d9 /src/nautilus-canvas-container.c | |
parent | 11088272dd00edf794270c6ab2efe9e1b2241b3c (diff) | |
download | nautilus-70393e321cfd8b1e27e2c627793daeb43f478682.tar.gz |
general: Allow to compile on Wayland-only system
Remove unneeded includes and add some guards to X11-only code.
Diffstat (limited to 'src/nautilus-canvas-container.c')
-rw-r--r-- | src/nautilus-canvas-container.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nautilus-canvas-container.c b/src/nautilus-canvas-container.c index 1035fa2b8..932439ffe 100644 --- a/src/nautilus-canvas-container.c +++ b/src/nautilus-canvas-container.c @@ -29,14 +29,12 @@ #include <eel/eel-gtk-extensions.h> #include <eel/eel-vfs-extensions.h> #include <gdk/gdkkeysyms.h> -#include <gdk/gdkx.h> +#include <gdk/gdk.h> #include <glib/gi18n.h> #include <gtk/gtk.h> #include <math.h> #include <stdio.h> #include <string.h> -#include <X11/Xlib.h> -#include <X11/Xatom.h> #define DEBUG_FLAG NAUTILUS_DEBUG_CANVAS_CONTAINER #include "nautilus-debug.h" |