aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy/empathy-ft-handler.c6
-rw-r--r--libempathy/empathy-ft-handler.h4
2 files changed, 7 insertions, 3 deletions
diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c
index ade8693b3..b9e0f47dd 100644
--- a/libempathy/empathy-ft-handler.c
+++ b/libempathy/empathy-ft-handler.c
@@ -172,8 +172,8 @@ empathy_ft_handler_contact_ready_cb (EmpathyContact *contact,
{
EmpathyFTHandler *handler = EMPATHY_FT_HANDLER (weak_object);
EmpathyFTHandlerPriv *priv = GET_PRIV (handler);
- GHashTable *request;
- GValue *value;
+
+ /* start collecting info about the file */
}
/* public methods */
@@ -206,7 +206,7 @@ empathy_ft_handler_start_transfer (EmpathyFTHandler *handler)
if (priv->tpfile == NULL)
{
empathy_contact_call_when_ready (priv->contact,
- EMPATHY_CONTACT_READY_ID,
+ EMPATHY_CONTACT_READY_HANDLE,
empathy_ft_handler_contact_ready_cb, NULL, NULL, G_OBJECT (handler));
}
else
diff --git a/libempathy/empathy-ft-handler.h b/libempathy/empathy-ft-handler.h
index 5a5ec61df..a76db1014 100644
--- a/libempathy/empathy-ft-handler.h
+++ b/libempathy/empathy-ft-handler.h
@@ -25,6 +25,10 @@
#define __EMPATHY_FT_HANDLER_H__
#include <glib-object.h>
+#include <gio/gio.h>
+
+#include "empathy-tp-file.h"
+#include "empathy-contact.h"
G_BEGIN_DECLS