This commit is contained in:
Ryan Lortie 2010-04-14 21:33:59 -04:00
parent 7b41a660dd
commit f23ef4c472
2 changed files with 4 additions and 1 deletions

View File

@ -760,7 +760,7 @@ g_settings_get_child (GSettings *settings,
child_path = g_strconcat (settings->priv->path, child_name, NULL);
child = g_object_new (G_TYPE_SETTINGS,
"schema", child_schema,
"schema", g_variant_get_string (child_schema, NULL),
"path", child_path,
NULL);
g_variant_unref (child_schema);

View File

@ -10,6 +10,9 @@
<key name="farewell" type="s">
<default l10n="true">"So long"</default>
</key>
<child name='basic-types' schema='org.gtk.test.basic-types'/>
<child name='complex-types' schema='org.gtk.test.complex-types'/>
</schema>
<schema id="org.gtk.test.basic-types" path="/tests/basic_types/" gettext-domain="test">
<key name="test_boolean" type="b">