summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-bg.h
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-14 17:42:52 +0200
committerraveit65 <[email protected]>2016-07-02 10:26:46 +0200
commitb9b4ff6d1e0b977ce815561f1b8ea16f7ce16aec (patch)
tree5bc8fe048faed5889ea7e20d292113348290d195 /libmate-desktop/mate-bg.h
parent0be2ba2a81e8ce1f10af6891035d1c7a5d21a586 (diff)
downloadmate-desktop-b9b4ff6d1e0b977ce815561f1b8ea16f7ce16aec.tar.bz2
mate-desktop-b9b4ff6d1e0b977ce815561f1b8ea16f7ce16aec.tar.xz
GTK+3 mate-bg: port GdkColor to GdkRGBA
Diffstat (limited to 'libmate-desktop/mate-bg.h')
-rw-r--r--libmate-desktop/mate-bg.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libmate-desktop/mate-bg.h b/libmate-desktop/mate-bg.h
index 65152cd..1b612a6 100644
--- a/libmate-desktop/mate-bg.h
+++ b/libmate-desktop/mate-bg.h
@@ -102,8 +102,13 @@ void mate_bg_set_placement (MateBG *bg,
MateBGPlacement placement);
void mate_bg_set_color (MateBG *bg,
MateBGColorType type,
+#if GTK_CHECK_VERSION(3, 0, 0)
+ GdkRGBA *primary,
+ GdkRGBA *secondary);
+#else
GdkColor *primary,
GdkColor *secondary);
+#endif
void mate_bg_set_draw_background (MateBG *bg,
gboolean draw_background);
/* Getters */
@@ -111,8 +116,13 @@ gboolean mate_bg_get_draw_background (MateBG *bg);
MateBGPlacement mate_bg_get_placement (MateBG *bg);
void mate_bg_get_color (MateBG *bg,
MateBGColorType *type,
+#if GTK_CHECK_VERSION(3, 0, 0)
+ GdkRGBA *primary,
+ GdkRGBA *secondary);
+#else
GdkColor *primary,
GdkColor *secondary);
+#endif
const gchar * mate_bg_get_filename (MateBG *bg);
/* Drawing and thumbnailing */