diff options
author | infirit <[email protected]> | 2015-08-20 13:59:33 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-08-20 14:00:39 +0200 |
commit | 6ca27a4743078f5905f8e1382faae8979261d5ba (patch) | |
tree | 1f2a382407705a4eee20f96ce9e7324fea00fd44 /src/ui/theme.h | |
parent | 105c6eb2116ab5db0157b272a22243bba1ae50ef (diff) | |
download | marco-6ca27a4743078f5905f8e1382faae8979261d5ba.tar.bz2 marco-6ca27a4743078f5905f8e1382faae8979261d5ba.tar.xz |
Gtk3: Fix background color
Also drop the mate-desktop dark/light color functions in favour
of internal ones.
Diffstat (limited to 'src/ui/theme.h')
-rw-r--r-- | src/ui/theme.h | 8 |
1 files changed, 8 insertions, 0 deletions
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); |