1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-03-28 02:20:04 +01:00

gschema-compile: return quickly on parse error

Suggested by Christian Persch in 
This commit is contained in:
Ryan Lortie 2010-04-19 11:05:04 -04:00
parent bed462046a
commit 3c54cc074d

@ -360,6 +360,9 @@ end_element (GMarkupParseContext *context,
state->value = g_variant_parse (state->type, state->string->str,
NULL, NULL, error);
if (state->value == NULL)
return;
if (state->l10n)
{
if (state->context)