summaryrefslogtreecommitdiff
path: root/gtk/gtkcssstylepropertyimpl.c
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2016-02-16 15:49:23 +0100
committerChristoph Reiter <creiter@src.gnome.org>2016-02-16 15:54:13 +0100
commit3a15aa2a957b7a4fc5ecdb21d800b2e81bb2ea47 (patch)
tree2ae53a9df429ff4f776d9791c4f39cefd523a210 /gtk/gtkcssstylepropertyimpl.c
parentc2cfbc8df1fcec997ba36fb8715b8913dbc08149 (diff)
downloadgtk+-3a15aa2a957b7a4fc5ecdb21d800b2e81bb2ea47.tar.gz
Add -gtk-image-effect alias for -gtk-icon-effect
The property name was changed in 2396265523dfc6. This makes sure apps using it don't break and get a helpful warning instead.
Diffstat (limited to 'gtk/gtkcssstylepropertyimpl.c')
-rw-r--r--gtk/gtkcssstylepropertyimpl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c
index cee8e27c26..c344d3f37d 100644
--- a/gtk/gtkcssstylepropertyimpl.c
+++ b/gtk/gtkcssstylepropertyimpl.c
@@ -1785,6 +1785,7 @@ _gtk_css_style_property_init_properties (void)
NULL,
NULL,
_gtk_css_icon_effect_value_new (GTK_CSS_ICON_EFFECT_NONE));
+ _gtk_style_property_add_alias ("-gtk-icon-effect", "-gtk-image-effect");
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gtk_css_style_property_register ("engine",