libgimpconfig: serialize empty value arrays as (property-name 0)

not (property-name NULL), which means nothing to the parser.
A "0" simply means an array with zero values.
This commit is contained in:
Michael Natterer 2016-09-14 00:56:17 +02:00
parent 7daa7d080a
commit b63fed76eb
1 changed files with 1 additions and 1 deletions

View File

@ -479,7 +479,7 @@ gimp_config_serialize_value (const GValue *value,
}
else
{
g_string_append (str, "NULL");
g_string_append (str, "0");
}
return TRUE;