summaryrefslogtreecommitdiff
path: root/gtk/gtkcssshorthandpropertyimpl.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-12-22 16:18:10 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-12-22 16:18:10 -0500
commitf61b7ba7970870704529627a5127c9d5a7484eeb (patch)
tree9064dd85b40cbd24a3f8e19a247a0fdbcff33b41 /gtk/gtkcssshorthandpropertyimpl.c
parent2d6ce0da0838b416e3693f9ba4320a24dc5fbcbd (diff)
downloadgtk+-f61b7ba7970870704529627a5127c9d5a7484eeb.tar.gz
Prefix outline radius CSS properties
These are not in any CSS specifications, so mark them as GTK+ additions by giving them a -gtk prefix. The old names still work.
Diffstat (limited to 'gtk/gtkcssshorthandpropertyimpl.c')
-rw-r--r--gtk/gtkcssshorthandpropertyimpl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkcssshorthandpropertyimpl.c b/gtk/gtkcssshorthandpropertyimpl.c
index 7598048956..2d1ac2558b 100644
--- a/gtk/gtkcssshorthandpropertyimpl.c
+++ b/gtk/gtkcssshorthandpropertyimpl.c
@@ -1290,12 +1290,13 @@ _gtk_css_shorthand_property_init_properties (void)
parse_border,
NULL,
NULL);
- _gtk_css_shorthand_property_register ("outline-radius",
+ _gtk_css_shorthand_property_register ("-gtk-outline-radius",
G_TYPE_INT,
outline_radius_subproperties,
parse_border_radius,
unpack_border_radius,
pack_border_radius);
+ _gtk_style_property_add_alias ("-gtk-outline-radius", "outline-radius");
_gtk_css_shorthand_property_register ("outline",
G_TYPE_NONE,
outline_subproperties,