summaryrefslogtreecommitdiff
path: root/capplets/common/mate-theme-info.h
diff options
context:
space:
mode:
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);