gsettings: Resolve child schemas from the parent's schema source

Christian Persch requested to merge chpe/glib:wip/issue-1884 into master

g_settings_get_child() used the default schema source to resolve the child schema. This can fail when the parent schema has a non-default schema source and the child schema is not defined in the default schema source.

Instead, use the parent GSettings's schema's schema ource to resolve the child schema.

Fixes: #1884 (closed)

Merge request reports