[empathy] ft-handler: stop instantiating a EmpathyDispatcher



commit 938d9c8dbe1c39c99d92311b0fa0c2a98c0cb940
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Fri Feb 4 15:35:00 2011 +0100

    ft-handler: stop instantiating a EmpathyDispatcher

 libempathy/empathy-ft-handler.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c
index b5f6b50..751328e 100644
--- a/libempathy/empathy-ft-handler.c
+++ b/libempathy/empathy-ft-handler.c
@@ -30,7 +30,6 @@
 
 #include "empathy-ft-handler.h"
 #include "empathy-tp-contact-factory.h"
-#include "empathy-dispatcher.h"
 #include "empathy-marshal.h"
 #include "empathy-time.h"
 #include "empathy-utils.h"
@@ -125,8 +124,6 @@ typedef struct {
   GCancellable *cancellable;
   gboolean use_hash;
 
-  EmpathyDispatcher *dispatcher;
-
   /* request for the new transfer */
   GHashTable *request;
 
@@ -276,12 +273,6 @@ do_dispose (GObject *object)
       priv->request = NULL;
     }
 
-  if (priv->dispatcher != NULL)
-    {
-      g_object_unref (priv->dispatcher);
-      priv->dispatcher = NULL;
-    }
-
   G_OBJECT_CLASS (empathy_ft_handler_parent_class)->dispose (object);
 }
 
@@ -544,7 +535,6 @@ empathy_ft_handler_init (EmpathyFTHandler *self)
 
   self->priv = priv;
   priv->cancellable = g_cancellable_new ();
-  priv->dispatcher = empathy_dispatcher_dup_singleton ();
 }
 
 /* private functions */



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