summaryrefslogtreecommitdiff
path: root/gtk/gtkcssstylepropertyimpl.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-05-10 10:43:43 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2012-05-15 13:24:40 -0400
commitf65970b521df47a0df55f42e09abdfb4bf65c12f (patch)
treefe3d0c9d37a76c0db2a99b0c8c41a349474d07ac /gtk/gtkcssstylepropertyimpl.c
parent9b0467339207e9b87f86796c8c9802ea6126c7af (diff)
downloadgtk+-f65970b521df47a0df55f42e09abdfb4bf65c12f.tar.gz
styleproperty: make background-size an array property
Diffstat (limited to 'gtk/gtkcssstylepropertyimpl.c')
-rw-r--r--gtk/gtkcssstylepropertyimpl.c6
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,