diff options
author | Benjamin Otte <otte@redhat.com> | 2015-12-02 03:18:26 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-12-02 03:18:26 +0100 |
commit | bc1b53a34c8666404bb2220a8c89ff81d10a3026 (patch) | |
tree | fe6918694968688f9a2c892ee340d5e234ed392a /gtk/gtkcssiconthemevalue.c | |
parent | d26a4b55558e50d86639747e4819ada671375287 (diff) | |
download | gtk+-bc1b53a34c8666404bb2220a8c89ff81d10a3026.tar.gz |
css: Query icon theme from style, not from settings
No need to look at the settings when the CSS has a property for the icon
theme.
Diffstat (limited to 'gtk/gtkcssiconthemevalue.c')
-rw-r--r-- | gtk/gtkcssiconthemevalue.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtkcssiconthemevalue.c b/gtk/gtkcssiconthemevalue.c index 3956d88ca5..84eb02f90c 100644 --- a/gtk/gtkcssiconthemevalue.c +++ b/gtk/gtkcssiconthemevalue.c @@ -131,3 +131,10 @@ _gtk_css_icon_theme_value_new (void) return _gtk_css_value_new (GtkCssValue, >K_CSS_VALUE_ICON_THEME); } +GtkIconTheme * +gtk_css_icon_theme_value_get_icon_theme (GtkCssValue *value) +{ + g_return_val_if_fail (value->class == >K_CSS_VALUE_ICON_THEME, NULL); + + return value->icontheme; +} |