Skip to content
Permalink
Browse files

wncklet: Error if compiling without X11 support

  • Loading branch information...
wmww authored and raveit65 committed Jan 26, 2019
1 parent d7edd93 commit aa4754cf5a232842ff25cdcb34d098bfab9ee861
Showing with 8 additions and 0 deletions.
  1. +4 −0 applets/wncklet/showdesktop.c
  2. +4 −0 applets/wncklet/wncklet.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>
@@ -25,6 +25,10 @@
#include <config.h>
#endif

#ifndef HAVE_X11
#error file should only be built when HAVE_X11 is enabled
#endif

#include <string.h>
#include <mate-panel-applet.h>

0 comments on commit aa4754c

Please sign in to comment.
You can’t perform that action at this time.