aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-03-11 20:22:54 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-03-11 20:22:54 +0800
commitd81d17a4cc3c0f83a1228adb88e0cdfa15808989 (patch)
treeed936da1a5a5a17a5043d3c5327c2b8c515137eb /libempathy
parent5c2d58c8149013cf2e4e381db36fd84e27513af3 (diff)
downloadgsoc2013-empathy-d81d17a4cc3c0f83a1228adb88e0cdfa15808989.tar
gsoc2013-empathy-d81d17a4cc3c0f83a1228adb88e0cdfa15808989.tar.gz
gsoc2013-empathy-d81d17a4cc3c0f83a1228adb88e0cdfa15808989.tar.bz2
gsoc2013-empathy-d81d17a4cc3c0f83a1228adb88e0cdfa15808989.tar.lz
gsoc2013-empathy-d81d17a4cc3c0f83a1228adb88e0cdfa15808989.tar.xz
gsoc2013-empathy-d81d17a4cc3c0f83a1228adb88e0cdfa15808989.tar.zst
gsoc2013-empathy-d81d17a4cc3c0f83a1228adb88e0cdfa15808989.zip
Remove unused priv->factory
svn path=/trunk/; revision=764
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-chatroom.c12
1 files changed, 4 insertions, 8 deletions
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",