aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-02-04 22:35:00 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-02-24 17:11:56 +0800
commit938d9c8dbe1c39c99d92311b0fa0c2a98c0cb940 (patch)
tree776ae2ad7a2d755749e54cda4d90047398445a2e
parentea84ad87c75088e29378c1c332a20567a76a538e (diff)
downloadgsoc2013-empathy-938d9c8dbe1c39c99d92311b0fa0c2a98c0cb940.tar
gsoc2013-empathy-938d9c8dbe1c39c99d92311b0fa0c2a98c0cb940.tar.gz
gsoc2013-empathy-938d9c8dbe1c39c99d92311b0fa0c2a98c0cb940.tar.bz2
gsoc2013-empathy-938d9c8dbe1c39c99d92311b0fa0c2a98c0cb940.tar.lz
gsoc2013-empathy-938d9c8dbe1c39c99d92311b0fa0c2a98c0cb940.tar.xz
gsoc2013-empathy-938d9c8dbe1c39c99d92311b0fa0c2a98c0cb940.tar.zst
gsoc2013-empathy-938d9c8dbe1c39c99d92311b0fa0c2a98c0cb940.zip
ft-handler: stop instantiating a EmpathyDispatcher
-rw-r--r--libempathy/empathy-ft-handler.c10
1 files changed, 0 insertions, 10 deletions
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 */