From f23ef4c472019eb6df667988fc79c86ef981e9e0 Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Wed, 14 Apr 2010 21:33:59 -0400 Subject: [PATCH] oops. --- gio/gsettings.c | 2 +- gio/tests/org.gtk.test.gschema | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gio/gsettings.c b/gio/gsettings.c index b6d577eec..2b482b10e 100644 --- a/gio/gsettings.c +++ b/gio/gsettings.c @@ -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); diff --git a/gio/tests/org.gtk.test.gschema b/gio/tests/org.gtk.test.gschema index ebf7a13b5..d0a5a2a8b 100644 --- a/gio/tests/org.gtk.test.gschema +++ b/gio/tests/org.gtk.test.gschema @@ -10,6 +10,9 @@ "So long" + + +