diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/contact-manager.c | 2 | ||||
-rw-r--r-- | tests/contact-run-until-ready-2.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/contact-manager.c b/tests/contact-manager.c index 81c1a9ba4..7793b44d9 100644 --- a/tests/contact-manager.c +++ b/tests/contact-manager.c @@ -23,7 +23,7 @@ main (int argc, char **argv) empathy_debug_set_flags (g_getenv ("EMPATHY_DEBUG")); main_loop = g_main_loop_new (NULL, FALSE); - manager = empathy_contact_manager_new (); + manager = empathy_contact_manager_dup_singleton (); store = empathy_contact_list_store_new (EMPATHY_CONTACT_LIST (manager)); empathy_contact_list_store_set_is_compact (store, TRUE); empathy_contact_list_store_set_show_groups (store, FALSE); diff --git a/tests/contact-run-until-ready-2.c b/tests/contact-run-until-ready-2.c index 03c7e8a64..426534116 100644 --- a/tests/contact-run-until-ready-2.c +++ b/tests/contact-run-until-ready-2.c @@ -41,7 +41,7 @@ callback (gpointer data) { EmpathyContactManager *manager; - manager = empathy_contact_manager_new (); + manager = empathy_contact_manager_dup_singleton (); g_signal_connect (manager, "pendings-changed", G_CALLBACK (pending_cb), NULL); |