We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58d9c36 commit e3846ebCopy full SHA for e3846eb
mate-panel/xstuff.c
@@ -12,7 +12,13 @@
12
* Copyright (c) 1997-2002 Alfredo K. Kojima
13
14
*/
15
+
16
#include <config.h>
17
18
+#ifndef HAVE_X11
19
+#error file should only be built when HAVE_X11 is enabled
20
+#endif
21
22
#include <string.h>
23
#include <unistd.h>
24
mate-panel/xstuff.h
@@ -1,9 +1,17 @@
1
#ifndef __XSTUFF_H__
2
#define __XSTUFF_H__
3
4
+#ifdef PACKAGE_NAME // only check HAVE_X11 if config.h has been included
5
6
+#error file should only be included when HAVE_X11 is enabled
7
8
9
10
#include <gdk/gdk.h>
11
#include <gtk/gtk.h>
+#include "panel-enums-gsettings.h"
void xstuff_zoom_animate (GtkWidget *widget,
cairo_surface_t *surface,
PanelOrientation orientation,
0 commit comments