aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-02-05 08:25:48 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-06-01 23:46:03 +0800
commit8bea8f7c36646481454a3f5c0b5db6598ba006fd (patch)
tree5ee7f4e8a3a22f4237a82cd89c3c3ee744dd1e79
parent36e014c3d2ea4bd2c863182c817e146a5e069662 (diff)
downloadgsoc2013-empathy-8bea8f7c36646481454a3f5c0b5db6598ba006fd.tar
gsoc2013-empathy-8bea8f7c36646481454a3f5c0b5db6598ba006fd.tar.gz
gsoc2013-empathy-8bea8f7c36646481454a3f5c0b5db6598ba006fd.tar.bz2
gsoc2013-empathy-8bea8f7c36646481454a3f5c0b5db6598ba006fd.tar.lz
gsoc2013-empathy-8bea8f7c36646481454a3f5c0b5db6598ba006fd.tar.xz
gsoc2013-empathy-8bea8f7c36646481454a3f5c0b5db6598ba006fd.tar.zst
gsoc2013-empathy-8bea8f7c36646481454a3f5c0b5db6598ba006fd.zip
Little cleanup.
-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