diff options
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-dispatch-operation.c | 13 |
1 files changed, 2 insertions, 11 deletions
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 <libempathy/empathy-enum-types.h> #include <libempathy/empathy-tp-contact-factory.h> -#include <libempathy/empathy-tp-call.h> -#include <libempathy/empathy-tp-file.h> #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); |