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 /dbus-1 | |
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 'dbus-1')
-rw-r--r-- | dbus-1/dconf-dbus-1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus-1/dconf-dbus-1.c b/dbus-1/dconf-dbus-1.c index 840e1ae..a4d7907 100644 --- a/dbus-1/dconf-dbus-1.c +++ b/dbus-1/dconf-dbus-1.c @@ -160,7 +160,7 @@ dconf_dbus_client_new (const gchar *profile, dconf_libdbus_1_provide_bus (G_BUS_TYPE_SYSTEM, system); dcdbc = g_slice_new (DConfDBusClient); - dcdbc->engine = dconf_engine_new (dcdbc, NULL); + dcdbc->engine = dconf_engine_new (NULL, dcdbc, NULL); dcdbc->watches = NULL; dcdbc->ref_count = 1; |