aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-chat.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-09 18:05:54 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-09 18:05:54 +0800
commit4100a5f538bf8f2c22658a579a80c909162dc46c (patch)
treeb401ae53129b4dd1c2847fcac86cc01565dc2006 /libempathy/empathy-tp-chat.c
parent2f6103a3cf15d278fc95929e72ed5652a103c058 (diff)
downloadgsoc2013-empathy-4100a5f538bf8f2c22658a579a80c909162dc46c.tar
gsoc2013-empathy-4100a5f538bf8f2c22658a579a80c909162dc46c.tar.gz
gsoc2013-empathy-4100a5f538bf8f2c22658a579a80c909162dc46c.tar.bz2
gsoc2013-empathy-4100a5f538bf8f2c22658a579a80c909162dc46c.tar.lz
gsoc2013-empathy-4100a5f538bf8f2c22658a579a80c909162dc46c.tar.xz
gsoc2013-empathy-4100a5f538bf8f2c22658a579a80c909162dc46c.tar.zst
gsoc2013-empathy-4100a5f538bf8f2c22658a579a80c909162dc46c.zip
Port EmpathyContactFactory to the new singleton policy.
svn path=/trunk/; revision=2113
Diffstat (limited to 'libempathy/empathy-tp-chat.c')
-rw-r--r--libempathy/empathy-tp-chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index 8517c1c0d..690fa6d3f 100644
--- a/libempathy/empathy-tp-chat.c
+++ b/libempathy/empathy-tp-chat.c
@@ -950,7 +950,7 @@ tp_chat_constructor (GType type,
priv = GET_PRIV (chat);
priv->account = empathy_channel_get_account (priv->channel);
- priv->factory = empathy_contact_factory_new ();
+ priv->factory = empathy_contact_factory_dup_singleton ();
priv->user = empathy_contact_factory_get_user (priv->factory, priv->account);
g_signal_connect (priv->channel, "invalidated",