aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-09 18:06:32 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-09 18:06:32 +0800
commit5dadc0ac3a478376337e2d10dec4ade7d5b44998 (patch)
treee9c0587441515b0ef5c383aa2e8f78b8243f8987 /tests
parentcdd2f65ff2d5b70b09b4ac57f28a94d38715c62d (diff)
downloadgsoc2013-empathy-5dadc0ac3a478376337e2d10dec4ade7d5b44998.tar
gsoc2013-empathy-5dadc0ac3a478376337e2d10dec4ade7d5b44998.tar.gz
gsoc2013-empathy-5dadc0ac3a478376337e2d10dec4ade7d5b44998.tar.bz2
gsoc2013-empathy-5dadc0ac3a478376337e2d10dec4ade7d5b44998.tar.lz
gsoc2013-empathy-5dadc0ac3a478376337e2d10dec4ade7d5b44998.tar.xz
gsoc2013-empathy-5dadc0ac3a478376337e2d10dec4ade7d5b44998.tar.zst
gsoc2013-empathy-5dadc0ac3a478376337e2d10dec4ade7d5b44998.zip
Port EmpathyContactManager to the new singleton policy.
svn path=/trunk/; revision=2121
Diffstat (limited to 'tests')
-rw-r--r--tests/contact-manager.c2
-rw-r--r--tests/contact-run-until-ready-2.c2
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);