[empathy: 2/148] Little cleanup.



commit 8bea8f7c36646481454a3f5c0b5db6598ba006fd
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Feb 5 01:25:48 2009 +0100

    Little cleanup.
---
 libempathy/empathy-ft-handler.c |    6 +++---
 libempathy/empathy-ft-handler.h |    4 ++++
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c
index ade8693..b9e0f47 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 5a5ec61..a76db10 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
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]