diff options
author | William Wold <[email protected]> | 2019-01-26 04:05:10 -0500 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-01-29 15:20:59 +0100 |
commit | aa4754cf5a232842ff25cdcb34d098bfab9ee861 (patch) | |
tree | 79eca08ca6650ac2d620281497c580aef39a1adf /applets/wncklet/showdesktop.c | |
parent | d7edd93f04f56bcf60e31096593cd60653726fe0 (diff) | |
download | mate-panel-aa4754cf5a232842ff25cdcb34d098bfab9ee861.tar.bz2 mate-panel-aa4754cf5a232842ff25cdcb34d098bfab9ee861.tar.xz |
wncklet: Error if compiling without X11 support
Diffstat (limited to 'applets/wncklet/showdesktop.c')
-rw-r--r-- | applets/wncklet/showdesktop.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/applets/wncklet/showdesktop.c b/applets/wncklet/showdesktop.c index 1e682fab..632e2e82 100644 --- a/applets/wncklet/showdesktop.c +++ b/applets/wncklet/showdesktop.c @@ -25,6 +25,10 @@ #include <config.h> #endif +#ifndef HAVE_X11 +#error file should only be built when HAVE_X11 is enabled +#endif + #include <glib/gi18n.h> #include <gtk/gtk.h> |