summaryrefslogtreecommitdiff
path: root/tests/dbus/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dbus/connection.c')
-rw-r--r--tests/dbus/connection.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/dbus/connection.c b/tests/dbus/connection.c
index 0d2631133..8ed18f620 100644
--- a/tests/dbus/connection.c
+++ b/tests/dbus/connection.c
@@ -57,7 +57,6 @@ setup (Test *test,
invalidated_for_test.domain = TP_ERROR;
- g_type_init ();
tp_debug_set_flags ("all");
test->dbus = tp_tests_dbus_daemon_dup_or_die ();
@@ -446,5 +445,5 @@ main (int argc,
g_test_add ("/conn/object_path", Test, NULL, setup,
test_object_path, teardown);
- return g_test_run ();
+ return tp_tests_run_with_bus ();
}