diff options
author | William Wold <[email protected]> | 2019-01-23 09:29:07 -0500 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-01-25 18:52:06 +0100 |
commit | 3e4a50d937eecb9b510614e3a62e8844a5fb46b0 (patch) | |
tree | 15dc30f01e9ceb7338cf6d9ea891750e52031a73 /libmate-panel-applet | |
parent | 23e1bdab8fff515cdb0adc4ac97a621cf9252844 (diff) | |
download | mate-panel-3e4a50d937eecb9b510614e3a62e8844a5fb46b0.tar.bz2 mate-panel-3e4a50d937eecb9b510614e3a62e8844a5fb46b0.tar.xz |
libmate-panel-applet: Error if panel-plug is built without X11
Diffstat (limited to 'libmate-panel-applet')
-rw-r--r-- | libmate-panel-applet/panel-plug.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libmate-panel-applet/panel-plug.c b/libmate-panel-applet/panel-plug.c index 10dd4099..3bf3def0 100644 --- a/libmate-panel-applet/panel-plug.c +++ b/libmate-panel-applet/panel-plug.c @@ -15,6 +15,12 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <config.h> + +#ifndef HAVE_X11 +#error file should only be built when HAVE_X11 is enabled +#endif + #include <gtk/gtk.h> #include "panel-plug-private.h" |