From 4100a5f538bf8f2c22658a579a80c909162dc46c Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 9 Jan 2009 10:05:54 +0000 Subject: Port EmpathyContactFactory to the new singleton policy. svn path=/trunk/; revision=2113 --- libempathy/empathy-tp-chat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libempathy/empathy-tp-chat.c') 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", -- cgit v1.2.3