From d81d17a4cc3c0f83a1228adb88e0cdfa15808989 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 11 Mar 2008 12:22:54 +0000 Subject: Remove unused priv->factory svn path=/trunk/; revision=764 --- libempathy/empathy-tp-chatroom.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'libempathy/empathy-tp-chatroom.c') diff --git a/libempathy/empathy-tp-chatroom.c b/libempathy/empathy-tp-chatroom.c index b66b38d2c..ae6f65865 100644 --- a/libempathy/empathy-tp-chatroom.c +++ b/libempathy/empathy-tp-chatroom.c @@ -23,7 +23,6 @@ #include "empathy-tp-chatroom.h" #include "empathy-contact-list.h" -#include "empathy-contact-factory.h" #include "empathy-tp-group.h" #include "empathy-utils.h" #include "empathy-debug.h" @@ -34,12 +33,11 @@ #define DEBUG_DOMAIN "TpChatroom" struct _EmpathyTpChatroomPriv { - EmpathyContactFactory *factory; - EmpathyTpGroup *group; + EmpathyTpGroup *group; - gboolean is_invited; - EmpathyContact *invitor; - gchar *invit_message; + gboolean is_invited; + EmpathyContact *invitor; + gchar *invit_message; }; static void empathy_tp_chatroom_class_init (EmpathyTpChatroomClass *klass); @@ -91,7 +89,6 @@ tp_chatroom_finalize (GObject *object) priv = GET_PRIV (chatroom); g_object_unref (priv->group); - g_object_unref (priv->factory); if (priv->invitor) { g_object_unref (priv->invitor); @@ -166,7 +163,6 @@ empathy_tp_chatroom_new (McAccount *account, priv = GET_PRIV (chatroom); - priv->factory = empathy_contact_factory_new (); priv->group = empathy_tp_group_new (account, tp_chan); g_signal_connect (priv->group, "member-added", -- cgit v1.2.3