GSettings: implement .property_get('path')

This was unimplemented in g_settings_get_property(), leading to a failed
'g_assert_not_reached()'.
This commit is contained in:
Ryan Lortie 2010-10-03 01:53:09 -04:00
parent 5af11ae4bc
commit ed9db23f9a

View File

@ -417,6 +417,10 @@ g_settings_get_property (GObject *object,
g_value_set_string (value, settings->priv->schema_name); g_value_set_string (value, settings->priv->schema_name);
break; break;
case PROP_PATH:
g_value_set_string (value, settings->priv->path);
break;
case PROP_HAS_UNAPPLIED: case PROP_HAS_UNAPPLIED:
g_value_set_boolean (value, g_settings_get_has_unapplied (settings)); g_value_set_boolean (value, g_settings_get_has_unapplied (settings));
break; break;