summaryrefslogtreecommitdiffstats
path: root/test/glib/test-profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/glib/test-profile.c')
-rw-r--r--test/glib/test-profile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/glib/test-profile.c b/test/glib/test-profile.c
index ca4f33c0..f23c7e26 100644
--- a/test/glib/test-profile.c
+++ b/test/glib/test-profile.c
@@ -190,7 +190,7 @@ no_bus_thread_func (void *data)
g_printerr ("Starting client thread %p\n", g_thread_self());
dbus_error_init (&error);
- connection = dbus_connection_open (messages_address, &error);
+ connection = dbus_connection_open_private (messages_address, &error);
if (connection == NULL)
{
g_printerr ("could not open connection: %s\n", error.message);
@@ -361,7 +361,7 @@ with_bus_thread_func (void *data)
}
dbus_error_init (&error);
- connection = dbus_connection_open (address, &error);
+ connection = dbus_connection_open_private (address, &error);
if (connection == NULL)
{
g_printerr ("could not open connection to bus: %s\n", error.message);