summaryrefslogtreecommitdiff
path: root/applets/notification_area/system-tray/na-tray.h
diff options
context:
space:
mode:
authorWilliam Wold <[email protected]>2019-06-17 22:15:47 +0000
committerraveit65 <[email protected]>2019-06-23 10:12:24 +0200
commitb852dfa8c677f1a95cee98d1350d99c6bb28f50c (patch)
tree21a17f705423713ac56c596c05c856c7044f6791 /applets/notification_area/system-tray/na-tray.h
parent8c378192fd449f2877525ea603ca9083c202cfcb (diff)
downloadmate-panel-b852dfa8c677f1a95cee98d1350d99c6bb28f50c.tar.bz2
mate-panel-b852dfa8c677f1a95cee98d1350d99c6bb28f50c.tar.xz
Make system-tray X11-only
Diffstat (limited to 'applets/notification_area/system-tray/na-tray.h')
-rw-r--r--applets/notification_area/system-tray/na-tray.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/applets/notification_area/system-tray/na-tray.h b/applets/notification_area/system-tray/na-tray.h
index 9f9d2bef..74e242c7 100644
--- a/applets/notification_area/system-tray/na-tray.h
+++ b/applets/notification_area/system-tray/na-tray.h
@@ -26,9 +26,11 @@
#include <config.h>
-#ifdef HAVE_X11
-#include <gdk/gdkx.h>
+#ifndef HAVE_X11
+#error file should only be included when HAVE_X11 is enabled
#endif
+
+#include <gdk/gdkx.h>
#include <gtk/gtk.h>
#include "na-host.h"