summaryrefslogtreecommitdiff
path: root/mate-panel/panel-profile.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-11-29 14:36:23 +0100
committerStefano Karapetsas <[email protected]>2013-11-29 14:36:23 +0100
commit17fc492a17e8f5317d7438c771ac9c95ce1e0a04 (patch)
treee40ede01db66cccda81ecf1a2c49ad76037ac26c /mate-panel/panel-profile.h
parent3f71479324ce6896c3cd8a480aacaf588ab159a9 (diff)
downloadmate-panel-17fc492a17e8f5317d7438c771ac9c95ce1e0a04.tar.bz2
mate-panel-17fc492a17e8f5317d7438c771ac9c95ce1e0a04.tar.xz
Panel background improvements for GTK3
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);