]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-dispatch-operation.c
Use tp-glib generated code for file transfers rather than extensions.
[empathy.git] / libempathy / empathy-dispatch-operation.c
index b9710dc0e2f3472eea1494dcfbf7101eda9309df..1786e4169039c37a110ea3116c26613ef4782a91 100644 (file)
@@ -30,6 +30,8 @@
 
 #include "empathy-marshal.h"
 
+#include "extensions/extensions.h"
+
 #define DEBUG_FLAG EMPATHY_DEBUG_DISPATCHER
 #include <libempathy/empathy-debug.h>
 
@@ -401,7 +403,7 @@ empathy_dispatch_operation_channel_ready_cb (TpChannel *channel,
        priv->channel_wrapper = G_OBJECT (call);
 
     }
-  else if (channel_type == EMP_IFACE_QUARK_CHANNEL_TYPE_FILE_TRANSFER)
+  else if (channel_type == TP_IFACE_QUARK_CHANNEL_TYPE_FILE_TRANSFER)
     {
        EmpathyTpFile *file = empathy_tp_file_new (channel);
        priv->channel_wrapper = G_OBJECT (file);