diff options
author | Frédéric Péters <fpeters@0d.be> | 2010-07-24 15:12:22 +0200 |
---|---|---|
committer | Frédéric Péters <fpeters@0d.be> | 2010-07-24 15:12:22 +0200 |
commit | 2c703cdc0c2c0b31604d49d94dacc019d4ffa72f (patch) | |
tree | 4a0cb93557ade7d91b48facc0579cc11b0d1ccbd | |
parent | 303771990820e8817207889f517df96e6e573f74 (diff) | |
download | gconf-2c703cdc0c2c0b31604d49d94dacc019d4ffa72f.tar.gz |
Adapt to gsettings API changes (glib, d5bd53)
-rw-r--r-- | gsettings/gconfsettingsbackend.c | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/gsettings/gconfsettingsbackend.c b/gsettings/gconfsettingsbackend.c index e94d5550..6e6f52f4 100644 --- a/gsettings/gconfsettingsbackend.c +++ b/gsettings/gconfsettingsbackend.c @@ -726,7 +726,7 @@ gconf_settings_backend_remove_ignore_notifications (GConfChangeSet *change } static gboolean -gconf_settings_backend_write_keys (GSettingsBackend *backend, +gconf_settings_backend_write_tree (GSettingsBackend *backend, GTree *tree, gpointer origin_tag) { @@ -783,20 +783,6 @@ gconf_settings_backend_reset (GSettingsBackend *backend, g_settings_backend_changed (backend, key, origin_tag); } -static void -gconf_settings_backend_reset_path (GSettingsBackend *backend, - const gchar *path, - gpointer origin_tag) -{ - GConfSettingsBackend *gconf = GCONF_SETTINGS_BACKEND (backend); - - /* We have no way to know if it was completely successful or if it - * completely failed, or if only some keys were unset, so we just send - * one big changed signal. */ - gconf_client_recursive_unset (gconf->priv->client, path, 0, NULL); - g_settings_backend_path_changed (backend, path, origin_tag); -} - static gboolean gconf_settings_backend_get_writable (GSettingsBackend *backend, const gchar *name) @@ -922,9 +908,8 @@ gconf_settings_backend_class_init (GConfSettingsBackendClass *class) backend_class->read = gconf_settings_backend_read; backend_class->write = gconf_settings_backend_write; - backend_class->write_keys = gconf_settings_backend_write_keys; + backend_class->write_tree = gconf_settings_backend_write_tree; backend_class->reset = gconf_settings_backend_reset; - backend_class->reset_path = gconf_settings_backend_reset_path; backend_class->get_writable = gconf_settings_backend_get_writable; backend_class->subscribe = gconf_settings_backend_subscribe; backend_class->unsubscribe = gconf_settings_backend_unsubscribe; |