diff --git a/gio/gschema-compile.c b/gio/gschema-compile.c index a6d28dd00..3ec262104 100644 --- a/gio/gschema-compile.c +++ b/gio/gschema-compile.c @@ -903,7 +903,7 @@ start_element (GMarkupParseContext *context, const gchar *id, *path, *gettext_domain; if (COLLECT (STRING, "id", &id, OPTIONAL | STRING, "path", &path, - OPTIONAL | STRDUP, "gettext-domain", &gettext_domain)) + OPTIONAL | STRING, "gettext-domain", &gettext_domain)) parse_state_start_schema (state, id, path, gettext_domain, error); return; }