summaryrefslogtreecommitdiff
path: root/mate-panel/panel-profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'mate-panel/panel-profile.h')
-rw-r--r--mate-panel/panel-profile.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/mate-panel/panel-profile.h b/mate-panel/panel-profile.h
index 665e237b..ffa43af3 100644
--- a/mate-panel/panel-profile.h
+++ b/mate-panel/panel-profile.h
@@ -110,14 +110,29 @@ PanelBackgroundType
panel_profile_get_background_type (PanelToplevel *toplevel);
void panel_profile_set_background_color (PanelToplevel *toplevel,
+#if GTK_CHECK_VERSION (3, 0, 0)
+ GdkRGBA *color);
+#else
PanelColor *color);
+#endif
void panel_profile_get_background_color (PanelToplevel *toplevel,
+#if GTK_CHECK_VERSION (3, 0, 0)
+ GdkRGBA *color);
+#else
PanelColor *color);
-
+#endif
+
+#if GTK_CHECK_VERSION (3, 0, 0)
+void panel_profile_set_background_gdk_rgba_color (PanelToplevel *toplevel,
+ GdkRGBA *color);
+void panel_profile_get_background_gdk_rgba_color (PanelToplevel *toplevel,
+ GdkRGBA *color);
+#else
void panel_profile_set_background_gdk_color (PanelToplevel *toplevel,
GdkColor *gdk_color);
void panel_profile_get_background_gdk_color (PanelToplevel *toplevel,
GdkColor *gdk_color);
+#endif
void panel_profile_set_background_opacity (PanelToplevel *toplevel,
guint16 opacity);