[glib] Fix the get_property implementation for GSettings::schema



commit 05a865344ba1f9a14524d87e2ab2a1cb4fdbc9cb
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jul 5 15:54:11 2010 -0400

    Fix the get_property implementation for GSettings::schema

 gio/gsettings.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gsettings.c b/gio/gsettings.c
index e5ac148..a0eb7c2 100644
--- a/gio/gsettings.c
+++ b/gio/gsettings.c
@@ -464,7 +464,7 @@ g_settings_get_property (GObject    *object,
   switch (prop_id)
     {
      case PROP_SCHEMA:
-      g_value_set_object (value, settings->priv->schema);
+      g_value_set_string (value, settings->priv->schema_name);
       break;
 
      case PROP_HAS_UNAPPLIED:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]