From b5b068d39f35ace8b1328c27a0b3d7e9de735dea Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 29 Jun 2010 16:39:06 +0200 Subject: stop handling internally FT channels --- libempathy/empathy-dispatch-operation.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'libempathy') diff --git a/libempathy/empathy-dispatch-operation.c b/libempathy/empathy-dispatch-operation.c index fa71f0130..adb76c77c 100644 --- a/libempathy/empathy-dispatch-operation.c +++ b/libempathy/empathy-dispatch-operation.c @@ -27,8 +27,6 @@ #include "empathy-dispatch-operation.h" #include #include -#include -#include #include "empathy-marshal.h" @@ -424,7 +422,8 @@ empathy_dispatch_operation_channel_ready_cb (TpChannel *channel, { EmpathyDispatchOperation *self = EMPATHY_DISPATCH_OPERATION (user_data); EmpathyDispatchOperationPriv *priv = GET_PRIV (self); - GQuark channel_type; + + /* FIXME: remove */ /* The error will be handled in empathy_dispatch_operation_invalidated */ if (error != NULL) @@ -440,14 +439,6 @@ empathy_dispatch_operation_channel_ready_cb (TpChannel *channel, if (priv->channel_wrapper != NULL) goto ready; - channel_type = tp_channel_get_channel_type_id (channel); - - if (channel_type == TP_IFACE_QUARK_CHANNEL_TYPE_FILE_TRANSFER) - { - EmpathyTpFile *file = empathy_tp_file_new (channel, priv->incoming); - priv->channel_wrapper = G_OBJECT (file); - } - ready: empathy_dispatch_operation_set_status (self, EMPATHY_DISPATCHER_OPERATION_STATE_PENDING); -- cgit v1.2.3