From 6ca27a4743078f5905f8e1382faae8979261d5ba Mon Sep 17 00:00:00 2001 From: infirit Date: Thu, 20 Aug 2015 13:59:33 +0200 Subject: Gtk3: Fix background color Also drop the mate-desktop dark/light color functions in favour of internal ones. --- src/ui/theme.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/ui/theme.h') diff --git a/src/ui/theme.h b/src/ui/theme.h index 742d01fe..ea3ec196 100644 --- a/src/ui/theme.h +++ b/src/ui/theme.h @@ -1269,6 +1269,14 @@ GtkArrowType meta_gtk_arrow_from_string (const char *s const char* meta_gtk_arrow_to_string (GtkArrowType arrow); MetaImageFillType meta_image_fill_type_from_string (const char *str); const char* meta_image_fill_type_to_string (MetaImageFillType fill_type); +#if GTK_CHECK_VERSION (3, 0, 0) +void meta_gtk_style_get_light_color (GtkStyleContext *style, + GtkStateFlags state, + GdkRGBA *color); +void meta_gtk_style_get_dark_color (GtkStyleContext *style, + GtkStateFlags state, + GdkRGBA *color); +#endif guint meta_theme_earliest_version_with_button (MetaButtonType type); -- cgit v1.2.1