summaryrefslogtreecommitdiff
path: root/tests/dbus/contact-lists.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dbus/contact-lists.c')
-rw-r--r--tests/dbus/contact-lists.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/dbus/contact-lists.c b/tests/dbus/contact-lists.c
index b97e69371..43ab26280 100644
--- a/tests/dbus/contact-lists.c
+++ b/tests/dbus/contact-lists.c
@@ -326,7 +326,6 @@ setup_pre_connect (
GError *error = NULL;
const gchar *account;
- g_type_init ();
tp_debug_set_flags ("all");
test->dbus = tp_tests_dbus_daemon_dup_or_die ();
test->main_loop = g_main_loop_new (NULL, FALSE);
@@ -2740,7 +2739,6 @@ int
main (int argc,
char **argv)
{
- g_type_init ();
tp_tests_abort_after (30);
tp_debug_set_flags ("all");
@@ -2906,5 +2904,5 @@ main (int argc,
g_test_add ("/contact-lists/download",
Test, NULL, setup, test_download_contacts, teardown);
- return g_test_run ();
+ return tp_tests_run_with_bus ();
}