From 938d9c8dbe1c39c99d92311b0fa0c2a98c0cb940 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 4 Feb 2011 15:35:00 +0100 Subject: ft-handler: stop instantiating a EmpathyDispatcher --- libempathy/empathy-ft-handler.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'libempathy/empathy-ft-handler.c') diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c index b5f6b5017..751328e24 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 */ -- cgit v1.2.3