diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-12-22 16:18:10 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-12-22 16:18:10 -0500 |
commit | f61b7ba7970870704529627a5127c9d5a7484eeb (patch) | |
tree | 9064dd85b40cbd24a3f8e19a247a0fdbcff33b41 /gtk/gtkcssshorthandpropertyimpl.c | |
parent | 2d6ce0da0838b416e3693f9ba4320a24dc5fbcbd (diff) | |
download | gtk+-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.c | 3 |
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, |