aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-ft-handler.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-05-04 07:50:03 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-06-01 23:47:38 +0800
commit1f239a9cb9595292b71fc0336e5d0055c5b81860 (patch)
tree4fcf245d1b8a6823f23dab13e1c665a91ea9f2ad /libempathy/empathy-ft-handler.c
parent059082374fc8d1cda07486e5e3eb9546a1739811 (diff)
downloadgsoc2013-empathy-1f239a9cb9595292b71fc0336e5d0055c5b81860.tar
gsoc2013-empathy-1f239a9cb9595292b71fc0336e5d0055c5b81860.tar.gz
gsoc2013-empathy-1f239a9cb9595292b71fc0336e5d0055c5b81860.tar.bz2
gsoc2013-empathy-1f239a9cb9595292b71fc0336e5d0055c5b81860.tar.lz
gsoc2013-empathy-1f239a9cb9595292b71fc0336e5d0055c5b81860.tar.xz
gsoc2013-empathy-1f239a9cb9595292b71fc0336e5d0055c5b81860.tar.zst
gsoc2013-empathy-1f239a9cb9595292b71fc0336e5d0055c5b81860.zip
Total FileTransfer draft spec exorcism
Diffstat (limited to 'libempathy/empathy-ft-handler.c')
-rw-r--r--libempathy/empathy-ft-handler.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c
index 93232b187..765de8bbd 100644
--- a/libempathy/empathy-ft-handler.c
+++ b/libempathy/empathy-ft-handler.c
@@ -21,7 +21,6 @@
/* empathy-ft-handler.c */
-#include <extensions/extensions.h>
#include <glib.h>
#include <glib/gi18n.h>
#include <telepathy-glib/util.h>
@@ -94,8 +93,8 @@ typedef struct {
guint64 transferred_bytes;
guint64 mtime;
gchar *content_hash;
- EmpFileHashType content_hash_type;
- EmpFileTransferState current_state;
+ TpFileHashType content_hash_type;
+ TpFileTransferState current_state;
gboolean is_completed;
gboolean is_cancelled;
@@ -684,7 +683,7 @@ ft_handler_read_async_cb (GObject *source,
/* org.freedesktop.Telepathy.Channel.Type.FileTransfer.ContentHashType */
value = tp_g_value_slice_new (G_TYPE_UINT);
- g_value_set_uint (value, EMP_FILE_HASH_TYPE_MD5);
+ g_value_set_uint (value, TP_FILE_HASH_TYPE_MD5);
g_hash_table_insert (priv->request,
TP_IFACE_CHANNEL_TYPE_FILE_TRANSFER ".ContentHashType", value);
@@ -1011,7 +1010,7 @@ empathy_ft_handler_get_gfile (EmpathyFTHandler *handler)
return priv->gfile;
}
-EmpFileTransferState
+TpFileTransferState
empathy_ft_handler_get_state (EmpathyFTHandler *handler,
char **state_string)
{