mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +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