diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-06-29 22:39:06 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-08-11 15:43:55 +0800 |
commit | b5b068d39f35ace8b1328c27a0b3d7e9de735dea (patch) | |
tree | 31a76a2cd61953e934c76ff98e46bb8d420ba693 /libempathy | |
parent | 56e0f6c86b79bfd6ac8807f15c098e627922cb30 (diff) | |
download | gsoc2013-empathy-b5b068d39f35ace8b1328c27a0b3d7e9de735dea.tar gsoc2013-empathy-b5b068d39f35ace8b1328c27a0b3d7e9de735dea.tar.gz gsoc2013-empathy-b5b068d39f35ace8b1328c27a0b3d7e9de735dea.tar.bz2 gsoc2013-empathy-b5b068d39f35ace8b1328c27a0b3d7e9de735dea.tar.lz gsoc2013-empathy-b5b068d39f35ace8b1328c27a0b3d7e9de735dea.tar.xz gsoc2013-empathy-b5b068d39f35ace8b1328c27a0b3d7e9de735dea.tar.zst gsoc2013-empathy-b5b068d39f35ace8b1328c27a0b3d7e9de735dea.zip |
stop handling internally FT channels
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); |