summaryrefslogtreecommitdiff
path: root/applets/notification_area/system-tray/na-tray.h
diff options
context:
space:
mode:
authorWilliam Wold <[email protected]>2019-01-22 08:40:49 -0500
committerraveit65 <[email protected]>2019-01-29 15:20:59 +0100
commitd7edd93f04f56bcf60e31096593cd60653726fe0 (patch)
treeba56806c1ce65d2d09b6a9a9430baa4af774fa0f /applets/notification_area/system-tray/na-tray.h
parent3630b204548036d02abc663509b33ebe5797b3b3 (diff)
downloadmate-panel-d7edd93f04f56bcf60e31096593cd60653726fe0.tar.bz2
mate-panel-d7edd93f04f56bcf60e31096593cd60653726fe0.tar.xz
Notification area: error if compiling without X11 support
Diffstat (limited to 'applets/notification_area/system-tray/na-tray.h')
-rw-r--r--applets/notification_area/system-tray/na-tray.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/applets/notification_area/system-tray/na-tray.h b/applets/notification_area/system-tray/na-tray.h
index 8eaca36e..9f9d2bef 100644
--- a/applets/notification_area/system-tray/na-tray.h
+++ b/applets/notification_area/system-tray/na-tray.h
@@ -24,7 +24,9 @@
#ifndef __NA_TRAY_H__
#define __NA_TRAY_H__
-#ifdef GDK_WINDOWING_X11
+#include <config.h>
+
+#ifdef HAVE_X11
#include <gdk/gdkx.h>
#endif
#include <gtk/gtk.h>