[empathy] tp-tube: remove priv->initiator_contact and priv->factory as they are not used
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy] tp-tube: remove priv->initiator_contact and priv->factory as they are not used
- Date: Fri, 17 Apr 2009 06:58:26 -0400 (EDT)
commit e73d84a18ce49cb3a11701456ee025eda65b59c5
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Fri Apr 17 11:48:29 2009 +0100
tp-tube: remove priv->initiator_contact and priv->factory as they are not used
---
libempathy/empathy-tp-tube.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/libempathy/empathy-tp-tube.c b/libempathy/empathy-tp-tube.c
index 4ceb2c4..0085593 100644
--- a/libempathy/empathy-tp-tube.c
+++ b/libempathy/empathy-tp-tube.c
@@ -25,7 +25,6 @@
#include <telepathy-glib/util.h>
#include <extensions/extensions.h>
-#include "empathy-contact-factory.h"
#include "empathy-enum-types.h"
#include "empathy-tp-tube.h"
#include "empathy-utils.h"
@@ -68,8 +67,6 @@ typedef struct
/* FIXME readd support for parameters.. */
GHashTable *parameters;
EmpTubeChannelState state;
- EmpathyContact *initiator_contact;
- EmpathyContactFactory *factory;
} EmpathyTpTubePriv;
enum
@@ -202,10 +199,6 @@ tp_tube_finalize (GObject *object)
"closing tube", NULL, NULL);
g_object_unref (priv->channel);
}
- if (priv->initiator_contact)
- g_object_unref (priv->initiator_contact);
- if (priv->factory)
- g_object_unref (priv->factory);
g_free (priv->service);
@@ -251,8 +244,6 @@ empathy_tp_tube_init (EmpathyTpTube *tube)
EMPATHY_TYPE_TP_TUBE, EmpathyTpTubePriv);
tube->priv = priv;
-
- priv->factory = empathy_contact_factory_dup_singleton ();
}
EmpathyTpTube *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]