summaryrefslogtreecommitdiff
path: root/capplets/common/mate-theme-info.h
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-17 18:10:34 +0200
committerraveit65 <[email protected]>2016-07-02 12:31:11 +0200
commitcd3114cbfab295c38fe629a3f6688645b3f60015 (patch)
tree560914556c6e527a4728f5df76e3a6ca9255ce9c /capplets/common/mate-theme-info.h
parent7c6ca27018bfd41a82c0732e9a371c3e6112b55d (diff)
downloadmate-control-center-cd3114cbfab295c38fe629a3f6688645b3f60015.tar.bz2
mate-control-center-cd3114cbfab295c38fe629a3f6688645b3f60015.tar.xz
GTK+-3 mate-theme-info: port GdkColor to GdkRGBA
Diffstat (limited to 'capplets/common/mate-theme-info.h')
-rw-r--r--capplets/common/mate-theme-info.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/capplets/common/mate-theme-info.h b/capplets/common/mate-theme-info.h
index ee2222cd..9b45951c 100644
--- a/capplets/common/mate-theme-info.h
+++ b/capplets/common/mate-theme-info.h
@@ -25,6 +25,7 @@
#include <glib.h>
#include <gio/gio.h>
+#include <gtk/gtk.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gdk/gdk.h>
@@ -182,8 +183,13 @@ void mate_theme_init (void);
void mate_theme_info_register_theme_change (ThemeChangedCallback func,
gpointer data);
+#if GTK_CHECK_VERSION (3, 0, 0)
+gboolean mate_theme_color_scheme_parse (const gchar *scheme,
+ GdkRGBA *colors);
+#else
gboolean mate_theme_color_scheme_parse (const gchar *scheme,
GdkColor *colors);
+#endif
gboolean mate_theme_color_scheme_equal (const gchar *s1,
const gchar *s2);