aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-04-17 18:48:29 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-04-17 18:49:49 +0800
commite73d84a18ce49cb3a11701456ee025eda65b59c5 (patch)
tree71389f77b3f988d518f1df612cf585337012a2b5
parent0ef4c314f56d22473b9ed3155d19d8e4dea37841 (diff)
downloadgsoc2013-empathy-e73d84a18ce49cb3a11701456ee025eda65b59c5.tar
gsoc2013-empathy-e73d84a18ce49cb3a11701456ee025eda65b59c5.tar.gz
gsoc2013-empathy-e73d84a18ce49cb3a11701456ee025eda65b59c5.tar.bz2
gsoc2013-empathy-e73d84a18ce49cb3a11701456ee025eda65b59c5.tar.lz
gsoc2013-empathy-e73d84a18ce49cb3a11701456ee025eda65b59c5.tar.xz
gsoc2013-empathy-e73d84a18ce49cb3a11701456ee025eda65b59c5.tar.zst
gsoc2013-empathy-e73d84a18ce49cb3a11701456ee025eda65b59c5.zip
tp-tube: remove priv->initiator_contact and priv->factory as they are not used
-rw-r--r--libempathy/empathy-tp-tube.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libempathy/empathy-tp-tube.c b/libempathy/empathy-tp-tube.c
index 4ceb2c4a7..008559338 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 *