diff options
author | William Wold <[email protected]> | 2019-06-18 21:54:43 +0000 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-06-21 18:41:12 +0200 |
commit | 592f9c1ba5e8a1719551fe545f8f3e2d82c8b22b (patch) | |
tree | fd62c76d635663c0f135f793301fea6510f830fe /mate-panel/panel-background-monitor.h | |
parent | 4703065becdb10a99dda91db6c8f68cc4486db35 (diff) | |
download | mate-panel-592f9c1ba5e8a1719551fe545f8f3e2d82c8b22b.tar.bz2 mate-panel-592f9c1ba5e8a1719551fe545f8f3e2d82c8b22b.tar.xz |
Make panel-background-monitor X11-only
Diffstat (limited to 'mate-panel/panel-background-monitor.h')
-rw-r--r-- | mate-panel/panel-background-monitor.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mate-panel/panel-background-monitor.h b/mate-panel/panel-background-monitor.h index 29cafd66..56140bc9 100644 --- a/mate-panel/panel-background-monitor.h +++ b/mate-panel/panel-background-monitor.h @@ -27,6 +27,12 @@ #ifndef __PANEL_BACKGROUND_MONITOR_H__ #define __PANEL_BACKGROUND_MONITOR_H__ +#ifdef PACKAGE_NAME // only check HAVE_X11 if config.h has been included +#ifndef HAVE_X11 +#error file should only be included when HAVE_X11 is enabled +#endif +#endif + #include <glib.h> #include <glib-object.h> #include <gdk/gdk.h> |