summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-panel/panel-toplevel.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/mate-panel/panel-toplevel.h b/mate-panel/panel-toplevel.h
index 935bdd01..51bc0059 100644
--- a/mate-panel/panel-toplevel.h
+++ b/mate-panel/panel-toplevel.h
@@ -27,7 +27,11 @@
#include <gtk/gtk.h>
+#include "panel-background.h"
+
+#if GTK_CHECK_VERSION (3, 18, 0)
#include "panel-enums.h"
+#endif
#ifdef __cplusplus
extern "C" {
@@ -56,7 +60,9 @@ struct _PanelToplevel {
GSettings *settings;
GSettings *queued_settings;
GSettings *background_settings;
-
+#if GTK_CHECK_VERSION (3, 18, 0)
+ PanelBackground background;
+#endif
PanelToplevelPrivate *priv;
};