aboutsummaryrefslogtreecommitdiffstats
path: root/src
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 /src
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 'src')
-rw-r--r--src/empathy-event-manager.c2
-rw-r--r--src/empathy-main-window.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index efcea9ec8..398d8d9ff 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -460,7 +460,7 @@ empathy_event_manager_init (EmpathyEventManager *manager)
manager->priv = priv;
priv->dispatcher = empathy_dispatcher_new ();
- priv->contact_manager = empathy_contact_manager_new ();
+ priv->contact_manager = empathy_contact_manager_dup_singleton ();
g_signal_connect (priv->dispatcher, "filter-channel",
G_CALLBACK (event_manager_filter_channel_cb),
manager);
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 3d5524923..4a6c86212 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -599,7 +599,7 @@ empathy_main_window_show (void)
/* Set up contact list. */
empathy_status_presets_get_all ();
- list_iface = EMPATHY_CONTACT_LIST (empathy_contact_manager_new ());
+ list_iface = EMPATHY_CONTACT_LIST (empathy_contact_manager_dup_singleton ());
monitor = empathy_contact_list_get_monitor (list_iface);
window->list_store = empathy_contact_list_store_new (list_iface);
window->list_view = empathy_contact_list_view_new (window->list_store,