diff options
author | Benjamin Otte <otte@redhat.com> | 2015-12-01 22:29:24 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-12-02 00:29:31 +0100 |
commit | 2396265523dfc65062cec89b7d971605ccb766ea (patch) | |
tree | 81eb77164a4606f40c7fd0ef8f1f72cad4c2e38e /gtk/gtkcssenumvalue.c | |
parent | 7f93858cccbd33f1bae98f107d9665a91e0ec58d (diff) | |
download | gtk+-2396265523dfc65062cec89b7d971605ccb766ea.tar.gz |
css: Rename -gtk-image-effect to -gtk-icon-effect
This is a property for icons, so we should name it as such.
Diffstat (limited to 'gtk/gtkcssenumvalue.c')
-rw-r--r-- | gtk/gtkcssenumvalue.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk/gtkcssenumvalue.c b/gtk/gtkcssenumvalue.c index a3555acb43..39c14e7345 100644 --- a/gtk/gtkcssenumvalue.c +++ b/gtk/gtkcssenumvalue.c @@ -869,7 +869,7 @@ _gtk_css_fill_mode_value_get (const GtkCssValue *value) return value->value; } -/* GtkCssImageEffect */ +/* GtkCssIconEffect */ static const GtkCssValueClass GTK_CSS_VALUE_IMAGE_EFFECT = { gtk_css_value_enum_free, @@ -880,13 +880,13 @@ static const GtkCssValueClass GTK_CSS_VALUE_IMAGE_EFFECT = { }; static GtkCssValue image_effect_values[] = { - { >K_CSS_VALUE_IMAGE_EFFECT, 1, GTK_CSS_IMAGE_EFFECT_NONE, "none" }, - { >K_CSS_VALUE_IMAGE_EFFECT, 1, GTK_CSS_IMAGE_EFFECT_HIGHLIGHT, "highlight" }, - { >K_CSS_VALUE_IMAGE_EFFECT, 1, GTK_CSS_IMAGE_EFFECT_DIM, "dim" } + { >K_CSS_VALUE_IMAGE_EFFECT, 1, GTK_CSS_ICON_EFFECT_NONE, "none" }, + { >K_CSS_VALUE_IMAGE_EFFECT, 1, GTK_CSS_ICON_EFFECT_HIGHLIGHT, "highlight" }, + { >K_CSS_VALUE_IMAGE_EFFECT, 1, GTK_CSS_ICON_EFFECT_DIM, "dim" } }; GtkCssValue * -_gtk_css_image_effect_value_new (GtkCssImageEffect image_effect) +_gtk_css_icon_effect_value_new (GtkCssIconEffect image_effect) { guint i; @@ -900,7 +900,7 @@ _gtk_css_image_effect_value_new (GtkCssImageEffect image_effect) } GtkCssValue * -_gtk_css_image_effect_value_try_parse (GtkCssParser *parser) +_gtk_css_icon_effect_value_try_parse (GtkCssParser *parser) { guint i; @@ -915,10 +915,10 @@ _gtk_css_image_effect_value_try_parse (GtkCssParser *parser) return NULL; } -GtkCssImageEffect -_gtk_css_image_effect_value_get (const GtkCssValue *value) +GtkCssIconEffect +_gtk_css_icon_effect_value_get (const GtkCssValue *value) { - g_return_val_if_fail (value->class == >K_CSS_VALUE_IMAGE_EFFECT, GTK_CSS_IMAGE_EFFECT_NONE); + g_return_val_if_fail (value->class == >K_CSS_VALUE_IMAGE_EFFECT, GTK_CSS_ICON_EFFECT_NONE); return value->value; } |