mirror of https://github.com/GNOME/gimp.git
app: fix error propagation in boolean GUM grouping subexpressions
This commit is contained in:
parent
5c07bcd1ff
commit
bbc0f18953
|
@ -411,7 +411,10 @@ gimp_prop_eval_boolean_group (GObject *config,
|
||||||
result = gimp_prop_eval_boolean_or (config, pspec,
|
result = gimp_prop_eval_boolean_or (config, pspec,
|
||||||
expr, t, error, depth + 1);
|
expr, t, error, depth + 1);
|
||||||
|
|
||||||
if (! *error && g_strcmp0 (*t, ")"))
|
if (*error)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
|
if (g_strcmp0 (*t, ")"))
|
||||||
{
|
{
|
||||||
g_set_error (error, GIMP_PROP_EVAL_ERROR, GIMP_PROP_EVAL_FAILED,
|
g_set_error (error, GIMP_PROP_EVAL_ERROR, GIMP_PROP_EVAL_FAILED,
|
||||||
"unterminated group");
|
"unterminated group");
|
||||||
|
|
Loading…
Reference in New Issue