Commit a81ccff4 authored by Benjamin Otte's avatar Benjamin Otte

cssvalue: Print an error when failing to parse background-position

... in the case where a completely invalid value was used.
parent 661f0f54
......@@ -224,7 +224,10 @@ _gtk_css_position_value_parse (GtkCssParser *parser)
return NULL;
}
else
return NULL;
{
_gtk_css_parser_error (parser, "Unrecognized position value");
return NULL;
}
}
for (second = 0; names[second].name != NULL; second++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment