summaryrefslogtreecommitdiff
path: root/capplets/appearance/mate-wp-item.h
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-17 01:26:08 +0200
committerraveit65 <[email protected]>2016-07-02 12:31:11 +0200
commit40d833ec5846a7e2f4bbe7bf794e6f5bebe15d00 (patch)
tree7e1976ce3a22ada85b8c73313178ddd42a322865 /capplets/appearance/mate-wp-item.h
parent1a5bb9681bede5e1ddf6386c75ff55c464956e99 (diff)
downloadmate-control-center-40d833ec5846a7e2f4bbe7bf794e6f5bebe15d00.tar.bz2
mate-control-center-40d833ec5846a7e2f4bbe7bf794e6f5bebe15d00.tar.xz
GTK+3 mate-wp-item: port GdkColor to GdkRGBA
Diffstat (limited to 'capplets/appearance/mate-wp-item.h')
-rw-r--r--capplets/appearance/mate-wp-item.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/capplets/appearance/mate-wp-item.h b/capplets/appearance/mate-wp-item.h
index 5e336d53..f75b8474 100644
--- a/capplets/appearance/mate-wp-item.h
+++ b/capplets/appearance/mate-wp-item.h
@@ -45,8 +45,13 @@ struct _MateWPItem {
GtkTreeRowReference * rowref;
/* Real colors */
+#if GTK_CHECK_VERSION (3, 0, 0)
+ GdkRGBA * pcolor;
+ GdkRGBA * scolor;
+#else
GdkColor * pcolor;
GdkColor * scolor;
+#endif
MateWPInfo * fileinfo;