Rename parse_border
For consistency we will use this name for the boder shorthand.
This commit is contained in:

committed by
Benjamin Otte

parent
04ea69ab38
commit
6525ed76e0
@ -47,7 +47,7 @@ value_is_done_parsing (GtkCssParser *parser)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
parse_border (GtkCssShorthandProperty *shorthand,
|
parse_border_width (GtkCssShorthandProperty *shorthand,
|
||||||
GValue *values,
|
GValue *values,
|
||||||
GtkCssParser *parser,
|
GtkCssParser *parser,
|
||||||
GFile *base)
|
GFile *base)
|
||||||
@ -809,19 +809,19 @@ _gtk_css_shorthand_property_init_properties (void)
|
|||||||
_gtk_css_shorthand_property_register ("margin",
|
_gtk_css_shorthand_property_register ("margin",
|
||||||
GTK_TYPE_BORDER,
|
GTK_TYPE_BORDER,
|
||||||
margin_subproperties,
|
margin_subproperties,
|
||||||
parse_border,
|
parse_border_width,
|
||||||
unpack_margin,
|
unpack_margin,
|
||||||
pack_margin);
|
pack_margin);
|
||||||
_gtk_css_shorthand_property_register ("padding",
|
_gtk_css_shorthand_property_register ("padding",
|
||||||
GTK_TYPE_BORDER,
|
GTK_TYPE_BORDER,
|
||||||
padding_subproperties,
|
padding_subproperties,
|
||||||
parse_border,
|
parse_border_width,
|
||||||
unpack_padding,
|
unpack_padding,
|
||||||
pack_padding);
|
pack_padding);
|
||||||
_gtk_css_shorthand_property_register ("border-width",
|
_gtk_css_shorthand_property_register ("border-width",
|
||||||
GTK_TYPE_BORDER,
|
GTK_TYPE_BORDER,
|
||||||
border_width_subproperties,
|
border_width_subproperties,
|
||||||
parse_border,
|
parse_border_width,
|
||||||
unpack_border_width,
|
unpack_border_width,
|
||||||
pack_border_width);
|
pack_border_width);
|
||||||
_gtk_css_shorthand_property_register ("border-radius",
|
_gtk_css_shorthand_property_register ("border-radius",
|
||||||
|
Reference in New Issue
Block a user