static GtkCssValue *
gtk_css_shorthand_property_parse_value (GtkStyleProperty *property,
- GtkCssParser *parser,
- GFile *base)
+ GtkCssParser *parser)
{
GtkCssShorthandProperty *shorthand = GTK_CSS_SHORTHAND_PROPERTY (property);
GtkCssValue **data;
data[i] = _gtk_css_inherit_value_new ();
}
}
- else if (!shorthand->parse (shorthand, data, parser, base))
+ else if (!shorthand->parse (shorthand, data, parser))
{
for (i = 0; i < shorthand->subproperties->len; i++)
{
data[i] = _gtk_css_initial_value_new ();
}
- result = _gtk_css_array_value_new (data, shorthand->subproperties->len);
+ result = _gtk_css_array_value_new_from_array (data, shorthand->subproperties->len);
g_free (data);
return result;