[gtk+] Drop aliases for outline radius
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Drop aliases for outline radius
- Date: Sun, 17 Sep 2017 21:00:32 +0000 (UTC)
commit de3179e7c0c1db203b10e08129bbfa0c7e71b0aa
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Sep 17 16:49:33 2017 -0400
Drop aliases for outline radius
The outline-{top,bottom}-{left,right}-radius names have been
deprecated for a while, so lets remove them. Everybody should
just use the -gtk-prefixed names for these properties.
gtk/gtkcssshorthandpropertyimpl.c | 1 -
gtk/gtkcssstylepropertyimpl.c | 4 ----
2 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkcssshorthandpropertyimpl.c b/gtk/gtkcssshorthandpropertyimpl.c
index 748fb8b..7562d09 100644
--- a/gtk/gtkcssshorthandpropertyimpl.c
+++ b/gtk/gtkcssshorthandpropertyimpl.c
@@ -1126,7 +1126,6 @@ _gtk_css_shorthand_property_init_properties (void)
outline_radius_subproperties,
parse_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,
diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c
index dcf9361..3a3db71 100644
--- a/gtk/gtkcssstylepropertyimpl.c
+++ b/gtk/gtkcssstylepropertyimpl.c
@@ -1237,7 +1237,6 @@ _gtk_css_style_property_init_properties (void)
NULL,
_gtk_css_corner_value_new (_gtk_css_number_value_new (0,
GTK_CSS_PX),
_gtk_css_number_value_new (0,
GTK_CSS_PX)));
- _gtk_style_property_add_alias ("-gtk-outline-top-left-radius", "outline-top-left-radius");
gtk_css_style_property_register ("-gtk-outline-top-right-radius",
GTK_CSS_PROPERTY_OUTLINE_TOP_RIGHT_RADIUS,
G_TYPE_NONE,
@@ -1247,7 +1246,6 @@ _gtk_css_style_property_init_properties (void)
NULL,
_gtk_css_corner_value_new (_gtk_css_number_value_new (0,
GTK_CSS_PX),
_gtk_css_number_value_new (0,
GTK_CSS_PX)));
- _gtk_style_property_add_alias ("-gtk-outline-top-right-radius", "outline-top-right-radius");
gtk_css_style_property_register ("-gtk-outline-bottom-right-radius",
GTK_CSS_PROPERTY_OUTLINE_BOTTOM_RIGHT_RADIUS,
G_TYPE_NONE,
@@ -1257,7 +1255,6 @@ _gtk_css_style_property_init_properties (void)
NULL,
_gtk_css_corner_value_new (_gtk_css_number_value_new (0,
GTK_CSS_PX),
_gtk_css_number_value_new (0,
GTK_CSS_PX)));
- _gtk_style_property_add_alias ("-gtk-outline-bottom-right-radius", "outline-bottom-right-radius");
gtk_css_style_property_register ("-gtk-outline-bottom-left-radius",
GTK_CSS_PROPERTY_OUTLINE_BOTTOM_LEFT_RADIUS,
G_TYPE_NONE,
@@ -1267,7 +1264,6 @@ _gtk_css_style_property_init_properties (void)
NULL,
_gtk_css_corner_value_new (_gtk_css_number_value_new (0,
GTK_CSS_PX),
_gtk_css_number_value_new (0,
GTK_CSS_PX)));
- _gtk_style_property_add_alias ("-gtk-outline-bottom-left-radius", "outline-bottom-left-radius");
gtk_css_style_property_register ("background-clip",
GTK_CSS_PROPERTY_BACKGROUND_CLIP,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]