mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Inherit gettext-domain from <schemalist>
When the <schema> doesn't have a 'gettext-domain' attribute, but the <schemalist> does, use that one. Bug #635640.
This commit is contained in:
@@ -1228,7 +1228,9 @@ start_element (GMarkupParseContext *context,
|
||||
OPTIONAL | STRING, "gettext-domain", &gettext_domain,
|
||||
OPTIONAL | STRING, "extends", &extends,
|
||||
OPTIONAL | STRING, "list-of", &list_of))
|
||||
parse_state_start_schema (state, id, path, gettext_domain,
|
||||
parse_state_start_schema (state, id, path,
|
||||
gettext_domain ? gettext_domain
|
||||
: state->schemalist_domain,
|
||||
extends, list_of, error);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user