aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-13 18:21:23 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-13 18:21:23 +0800
commit81c51d3c1b3fd68cb31848ef86d8c3d1859aacdf (patch)
tree1d4a521c04614a7c87d6bdf67f1ece373fa63f66
parent5d63780e638c33a9622b5f205890a4daef06d250 (diff)
downloadgsoc2013-empathy-81c51d3c1b3fd68cb31848ef86d8c3d1859aacdf.tar
gsoc2013-empathy-81c51d3c1b3fd68cb31848ef86d8c3d1859aacdf.tar.gz
gsoc2013-empathy-81c51d3c1b3fd68cb31848ef86d8c3d1859aacdf.tar.bz2
gsoc2013-empathy-81c51d3c1b3fd68cb31848ef86d8c3d1859aacdf.tar.lz
gsoc2013-empathy-81c51d3c1b3fd68cb31848ef86d8c3d1859aacdf.tar.xz
gsoc2013-empathy-81c51d3c1b3fd68cb31848ef86d8c3d1859aacdf.tar.zst
gsoc2013-empathy-81c51d3c1b3fd68cb31848ef86d8c3d1859aacdf.zip
event-manager: we don't use the dispatcher any more
-rw-r--r--src/empathy-event-manager.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index 5916ddd2c..e678f990c 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -29,7 +29,6 @@
#include <telepathy-glib/interfaces.h>
#include <telepathy-glib/simple-approver.h>
-#include <libempathy/empathy-dispatcher.h>
#include <libempathy/empathy-idle.h>
#include <libempathy/empathy-tp-contact-factory.h>
#include <libempathy/empathy-contact-manager.h>
@@ -76,7 +75,6 @@ typedef struct {
} EventManagerApproval;
typedef struct {
- EmpathyDispatcher *dispatcher;
TpBaseClient *approver;
EmpathyContactManager *contact_manager;
GSList *events;
@@ -1118,7 +1116,6 @@ event_manager_finalize (GObject *object)
g_slist_foreach (priv->approvals, (GFunc) event_manager_approval_free, NULL);
g_slist_free (priv->approvals);
g_object_unref (priv->contact_manager);
- g_object_unref (priv->dispatcher);
g_object_unref (priv->approver);
}
@@ -1172,7 +1169,6 @@ empathy_event_manager_init (EmpathyEventManager *manager)
manager->priv = priv;
- priv->dispatcher = empathy_dispatcher_dup_singleton ();
priv->contact_manager = empathy_contact_manager_dup_singleton ();
g_signal_connect (priv->contact_manager, "pendings-changed",
G_CALLBACK (event_manager_pendings_changed_cb), manager);