diff options
Diffstat (limited to 'gtk/gtkcssstylepropertyimpl.c')
-rw-r--r-- | gtk/gtkcssstylepropertyimpl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c index 4c194e41cb..ad60d93d53 100644 --- a/gtk/gtkcssstylepropertyimpl.c +++ b/gtk/gtkcssstylepropertyimpl.c @@ -859,7 +859,7 @@ static GtkCssValue * background_size_parse (GtkCssStyleProperty *property, GtkCssParser *parser) { - return _gtk_css_bg_size_value_parse (parser); + return _gtk_css_array_value_parse (parser, _gtk_css_bg_size_value_parse, FALSE); } static GtkCssValue * @@ -867,7 +867,7 @@ background_size_compute (GtkCssStyleProperty *property, GtkStyleContext *context, GtkCssValue *specified) { - return _gtk_css_bg_size_value_compute (specified, context); + return _gtk_css_array_value_compute (specified, _gtk_css_bg_size_value_compute, context); } static GtkCssValue * @@ -1285,7 +1285,7 @@ _gtk_css_style_property_init_properties (void) background_size_compute, NULL, NULL, - _gtk_css_bg_size_value_new (NULL, NULL)); + _gtk_css_array_value_new (_gtk_css_bg_size_value_new (NULL, NULL))); gtk_css_style_property_register ("background-position", GTK_CSS_PROPERTY_BACKGROUND_POSITION, G_TYPE_NONE, |