mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-07 01:00:28 +00:00
cssvalue: Print an error when failing to parse background-position
... in the case where a completely invalid value was used.
This commit is contained in:
parent
661f0f547b
commit
a81ccff4f5
@ -224,8 +224,11 @@ _gtk_css_position_value_parse (GtkCssParser *parser)
|
||||
return NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
_gtk_css_parser_error (parser, "Unrecognized position value");
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
for (second = 0; names[second].name != NULL; second++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user