forked from AuroraMiddleware/gtk
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.
This commit is contained in:
parent
d3727817ff
commit
de3179e7c0
@ -1126,7 +1126,6 @@ _gtk_css_shorthand_property_init_properties (void)
|
|||||||
outline_radius_subproperties,
|
outline_radius_subproperties,
|
||||||
parse_border_radius,
|
parse_border_radius,
|
||||||
pack_border_radius);
|
pack_border_radius);
|
||||||
_gtk_style_property_add_alias ("-gtk-outline-radius", "outline-radius");
|
|
||||||
_gtk_css_shorthand_property_register ("outline",
|
_gtk_css_shorthand_property_register ("outline",
|
||||||
G_TYPE_NONE,
|
G_TYPE_NONE,
|
||||||
outline_subproperties,
|
outline_subproperties,
|
||||||
|
@ -1237,7 +1237,6 @@ _gtk_css_style_property_init_properties (void)
|
|||||||
NULL,
|
NULL,
|
||||||
_gtk_css_corner_value_new (_gtk_css_number_value_new (0, GTK_CSS_PX),
|
_gtk_css_corner_value_new (_gtk_css_number_value_new (0, GTK_CSS_PX),
|
||||||
_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_style_property_register ("-gtk-outline-top-right-radius",
|
||||||
GTK_CSS_PROPERTY_OUTLINE_TOP_RIGHT_RADIUS,
|
GTK_CSS_PROPERTY_OUTLINE_TOP_RIGHT_RADIUS,
|
||||||
G_TYPE_NONE,
|
G_TYPE_NONE,
|
||||||
@ -1247,7 +1246,6 @@ _gtk_css_style_property_init_properties (void)
|
|||||||
NULL,
|
NULL,
|
||||||
_gtk_css_corner_value_new (_gtk_css_number_value_new (0, GTK_CSS_PX),
|
_gtk_css_corner_value_new (_gtk_css_number_value_new (0, GTK_CSS_PX),
|
||||||
_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_style_property_register ("-gtk-outline-bottom-right-radius",
|
||||||
GTK_CSS_PROPERTY_OUTLINE_BOTTOM_RIGHT_RADIUS,
|
GTK_CSS_PROPERTY_OUTLINE_BOTTOM_RIGHT_RADIUS,
|
||||||
G_TYPE_NONE,
|
G_TYPE_NONE,
|
||||||
@ -1257,7 +1255,6 @@ _gtk_css_style_property_init_properties (void)
|
|||||||
NULL,
|
NULL,
|
||||||
_gtk_css_corner_value_new (_gtk_css_number_value_new (0, GTK_CSS_PX),
|
_gtk_css_corner_value_new (_gtk_css_number_value_new (0, GTK_CSS_PX),
|
||||||
_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_style_property_register ("-gtk-outline-bottom-left-radius",
|
||||||
GTK_CSS_PROPERTY_OUTLINE_BOTTOM_LEFT_RADIUS,
|
GTK_CSS_PROPERTY_OUTLINE_BOTTOM_LEFT_RADIUS,
|
||||||
G_TYPE_NONE,
|
G_TYPE_NONE,
|
||||||
@ -1267,7 +1264,6 @@ _gtk_css_style_property_init_properties (void)
|
|||||||
NULL,
|
NULL,
|
||||||
_gtk_css_corner_value_new (_gtk_css_number_value_new (0, GTK_CSS_PX),
|
_gtk_css_corner_value_new (_gtk_css_number_value_new (0, GTK_CSS_PX),
|
||||||
_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_style_property_register ("background-clip",
|
||||||
GTK_CSS_PROPERTY_BACKGROUND_CLIP,
|
GTK_CSS_PROPERTY_BACKGROUND_CLIP,
|
||||||
|
Loading…
Reference in New Issue
Block a user