diff options
Diffstat (limited to 'mate-panel/panel-background.h')
-rw-r--r-- | mate-panel/panel-background.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mate-panel/panel-background.h b/mate-panel/panel-background.h index aa0183ed..65baf2a2 100644 --- a/mate-panel/panel-background.h +++ b/mate-panel/panel-background.h @@ -25,12 +25,17 @@ #ifndef __PANEL_BACKGROUND_H__ #define __PANEL_BACKGROUND_H__ +#include <config.h> + #include <glib.h> #include <gtk/gtk.h> #include "panel-enums.h" #include "panel-types.h" + +#ifdef HAVE_X11 #include "panel-background-monitor.h" +#endif typedef struct _PanelBackground PanelBackground; @@ -54,9 +59,11 @@ struct _PanelBackground { GdkPixbuf *transformed_image; cairo_pattern_t *composited_pattern; +#ifdef HAVE_X11 PanelBackgroundMonitor *monitor; GdkPixbuf *desktop; gulong monitor_signal; +#endif // HAVE_X11 GdkWindow *window; cairo_pattern_t *default_pattern; |