summaryrefslogtreecommitdiff
path: root/gtk/gtkcssstylepropertyimpl.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2015-12-01 22:29:24 +0100
committerBenjamin Otte <otte@redhat.com>2015-12-02 00:29:31 +0100
commit2396265523dfc65062cec89b7d971605ccb766ea (patch)
tree81eb77164a4606f40c7fd0ef8f1f72cad4c2e38e /gtk/gtkcssstylepropertyimpl.c
parent7f93858cccbd33f1bae98f107d9665a91e0ec58d (diff)
downloadgtk+-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/gtkcssstylepropertyimpl.c')
-rw-r--r--gtk/gtkcssstylepropertyimpl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c
index c42ff5d1d8..ca4b277989 100644
--- a/gtk/gtkcssstylepropertyimpl.c
+++ b/gtk/gtkcssstylepropertyimpl.c
@@ -497,7 +497,7 @@ static GtkCssValue *
image_effect_parse (GtkCssStyleProperty *property,
GtkCssParser *parser)
{
- GtkCssValue *value = _gtk_css_image_effect_value_try_parse (parser);
+ GtkCssValue *value = _gtk_css_icon_effect_value_try_parse (parser);
if (value == NULL)
_gtk_css_parser_error (parser, "unknown value for property");
@@ -1720,7 +1720,7 @@ _gtk_css_style_property_init_properties (void)
NULL,
NULL,
_gtk_css_number_value_new (1, GTK_CSS_NUMBER));
- gtk_css_style_property_register ("-gtk-image-effect",
+ gtk_css_style_property_register ("-gtk-icon-effect",
GTK_CSS_PROPERTY_GTK_IMAGE_EFFECT,
G_TYPE_NONE,
GTK_STYLE_PROPERTY_INHERIT,
@@ -1728,7 +1728,7 @@ _gtk_css_style_property_init_properties (void)
image_effect_parse,
NULL,
NULL,
- _gtk_css_image_effect_value_new (GTK_CSS_IMAGE_EFFECT_NONE));
+ _gtk_css_icon_effect_value_new (GTK_CSS_ICON_EFFECT_NONE));
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gtk_css_style_property_register ("engine",