diff options
author | William Wold <[email protected]> | 2019-01-22 08:40:49 -0500 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-01-29 15:20:59 +0100 |
commit | d7edd93f04f56bcf60e31096593cd60653726fe0 (patch) | |
tree | ba56806c1ce65d2d09b6a9a9430baa4af774fa0f /applets/notification_area/system-tray/na-tray.c | |
parent | 3630b204548036d02abc663509b33ebe5797b3b3 (diff) | |
download | mate-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.c')
-rw-r--r-- | applets/notification_area/system-tray/na-tray.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/applets/notification_area/system-tray/na-tray.c b/applets/notification_area/system-tray/na-tray.c index 621d534d..bbf380c2 100644 --- a/applets/notification_area/system-tray/na-tray.c +++ b/applets/notification_area/system-tray/na-tray.c @@ -21,6 +21,11 @@ */ #include <config.h> + +#ifndef HAVE_X11 +#error file should only be built when HAVE_X11 is enabled +#endif + #include <string.h> #include <gtk/gtk.h> |