#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"
typedef struct
{
TpChannel *channel;
- gchar *service;
- /* FIXME readd support for parameters.. */
- GHashTable *parameters;
EmpTubeChannelState state;
- EmpathyContact *initiator_contact;
- EmpathyContactFactory *factory;
} EmpathyTpTubePriv;
enum
"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);
-
- if (priv->parameters != NULL)
- g_hash_table_destroy (priv->parameters);
G_OBJECT_CLASS (empathy_tp_tube_parent_class)->finalize (object);
}
EMPATHY_TYPE_TP_TUBE, EmpathyTpTubePriv);
tube->priv = priv;
-
- priv->factory = empathy_contact_factory_dup_singleton ();
}
EmpathyTpTube *