[glib/glib-2-26] GSettings: implement .property_get('path')
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-26] GSettings: implement .property_get('path')
- Date: Wed, 27 Oct 2010 13:21:15 +0000 (UTC)
commit 216170dca38494c5a0e4cd598e64c807e8f774aa
Author: Ryan Lortie <desrt desrt ca>
Date: Sun Oct 3 01:53:09 2010 -0400
GSettings: implement .property_get('path')
This was unimplemented in g_settings_get_property(), leading to a failed
'g_assert_not_reached()'.
gio/gsettings.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gio/gsettings.c b/gio/gsettings.c
index eb4370c..2365fa9 100644
--- a/gio/gsettings.c
+++ b/gio/gsettings.c
@@ -417,6 +417,10 @@ g_settings_get_property (GObject *object,
g_value_set_string (value, settings->priv->schema_name);
break;
+ case PROP_PATH:
+ g_value_set_string (value, settings->priv->path);
+ break;
+
case PROP_HAS_UNAPPLIED:
g_value_set_boolean (value, g_settings_get_has_unapplied (settings));
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]