[glib] GSettings: implement .property_get('path')
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] GSettings: implement .property_get('path')
- Date: Sun, 3 Oct 2010 05:54:01 +0000 (UTC)
commit ed9db23f9a056ae253be25c2262f19047a62fe76
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 c11c716..31361c1 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]