diff options
author | Paolo Borelli <pborelli@gnome.org> | 2012-01-04 19:18:21 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-01-09 18:37:59 +0100 |
commit | 6525ed76e0e7754d78306c43c9fbc22c50d86da7 (patch) | |
tree | 8d2d061016005da6492b26e65980183565d9f2cd /gtk/gtkcssshorthandpropertyimpl.c | |
parent | 04ea69ab3897e3c08830b7e764f0d960fa88a2cf (diff) | |
download | gtk+-6525ed76e0e7754d78306c43c9fbc22c50d86da7.tar.gz |
Rename parse_border
For consistency we will use this name for the boder shorthand.
Diffstat (limited to 'gtk/gtkcssshorthandpropertyimpl.c')
-rw-r--r-- | gtk/gtkcssshorthandpropertyimpl.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkcssshorthandpropertyimpl.c b/gtk/gtkcssshorthandpropertyimpl.c index 5d93dfd32e..3a8c60fe5e 100644 --- a/gtk/gtkcssshorthandpropertyimpl.c +++ b/gtk/gtkcssshorthandpropertyimpl.c @@ -47,10 +47,10 @@ value_is_done_parsing (GtkCssParser *parser) } static gboolean -parse_border (GtkCssShorthandProperty *shorthand, - GValue *values, - GtkCssParser *parser, - GFile *base) +parse_border_width (GtkCssShorthandProperty *shorthand, + GValue *values, + GtkCssParser *parser, + GFile *base) { GValue temp = G_VALUE_INIT; GtkBorder *border; @@ -77,7 +77,7 @@ parse_border (GtkCssShorthandProperty *shorthand, return TRUE; } - + static gboolean parse_border_radius (GtkCssShorthandProperty *shorthand, GValue *values, @@ -809,19 +809,19 @@ _gtk_css_shorthand_property_init_properties (void) _gtk_css_shorthand_property_register ("margin", GTK_TYPE_BORDER, margin_subproperties, - parse_border, + parse_border_width, unpack_margin, pack_margin); _gtk_css_shorthand_property_register ("padding", GTK_TYPE_BORDER, padding_subproperties, - parse_border, + parse_border_width, unpack_padding, pack_padding); _gtk_css_shorthand_property_register ("border-width", GTK_TYPE_BORDER, border_width_subproperties, - parse_border, + parse_border_width, unpack_border_width, pack_border_width); _gtk_css_shorthand_property_register ("border-radius", |