mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +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,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++)
|
||||
|
Loading…
Reference in New Issue
Block a user