Skip to content

Commit

Permalink
libmate-panel-applet: Error if panel-plug is built without X11
Browse files Browse the repository at this point in the history
  • Loading branch information
wmww authored and raveit65 committed Jan 25, 2019
1 parent 23e1bda commit 3e4a50d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libmate-panel-applet/panel-plug.c
Expand Up @@ -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"
Expand Down

0 comments on commit 3e4a50d

Please sign in to comment.