diff options
author | Ryan Lortie <desrt@desrt.ca> | 2013-11-26 13:38:33 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2013-11-26 13:46:13 -0500 |
commit | eb8f17c4c59ab480007f5ead6949388297b00e74 (patch) | |
tree | 3855cdf48da9950274c667e016b8a9daa4548e04 /gsettings | |
parent | 735d95a845ac886355da00f5b0a565bfcaeb9534 (diff) | |
download | dconf-eb8f17c4c59ab480007f5ead6949388297b00e74.tar.gz |
engine: add 'profile' argument to constructor
Allow specifying a profile when calling dconf_engine_new(). This will
allow us to avoid setting/unsetting the DCONF_PROFILE environment in
testcases from contexts where other threads may be reading from the
environment.
Diffstat (limited to 'gsettings')
-rw-r--r-- | gsettings/dconfsettingsbackend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gsettings/dconfsettingsbackend.c b/gsettings/dconfsettingsbackend.c index b0ad4d0..9db10f7 100644 --- a/gsettings/dconfsettingsbackend.c +++ b/gsettings/dconfsettingsbackend.c @@ -183,7 +183,7 @@ dconf_settings_backend_init (DConfSettingsBackend *dcsb) weak_ref = g_slice_new (GWeakRef); g_weak_ref_init (weak_ref, dcsb); - dcsb->engine = dconf_engine_new (weak_ref, dconf_settings_backend_free_weak_ref); + dcsb->engine = dconf_engine_new (NULL, weak_ref, dconf_settings_backend_free_weak_ref); } static void |