diff options
author | Ryan Lortie <desrt@desrt.ca> | 2012-07-10 13:58:03 -0400 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2012-07-10 13:58:03 -0400 |
commit | 4860be9319e971da6a21fe9f0e83a86b2581314e (patch) | |
tree | 9fcc99e56072ae39005814f35b5c5babc44f7659 /gsettings | |
parent | 2f86e0288643ec2024bc8f32a5c287b88e82d7ab (diff) | |
download | dconf-4860be9319e971da6a21fe9f0e83a86b2581314e.tar.gz |
Reimplement sync() functionality
Add dconf_engine_sync() that does the same thing as the code in the
GSettings backend used to do, in a cleaner way.
Update the GSettings backend to use the new call.
Add a new call to DConfClient wrapping the engine call as well.
Diffstat (limited to 'gsettings')
-rw-r--r-- | gsettings/dconfsettingsbackend.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gsettings/dconfsettingsbackend.c b/gsettings/dconfsettingsbackend.c index 32b2cab..11c123c 100644 --- a/gsettings/dconfsettingsbackend.c +++ b/gsettings/dconfsettingsbackend.c @@ -135,7 +135,9 @@ dconf_settings_backend_unsubscribe (GSettingsBackend *backend, static void dconf_settings_backend_sync (GSettingsBackend *backend) { - /* XXX implement sync */ + DConfSettingsBackend *dcsb = (DConfSettingsBackend *) backend; + + dconf_engine_sync (dcsb->engine); } static void |