From: Guillaume Desmottes Date: Fri, 17 Apr 2009 10:48:29 +0000 (+0100) Subject: tp-tube: remove priv->initiator_contact and priv->factory as they are not used X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=e73d84a18ce49cb3a11701456ee025eda65b59c5 tp-tube: remove priv->initiator_contact and priv->factory as they are not used --- diff --git a/libempathy/empathy-tp-tube.c b/libempathy/empathy-tp-tube.c index 4ceb2c4a..00855933 100644 --- a/libempathy/empathy-tp-tube.c +++ b/libempathy/empathy-tp-tube.c @@ -25,7 +25,6 @@ #include #include -#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 *