gschema-compile: return quickly on parse error

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

View File

@ -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)