aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-06-30 21:53:49 +0800
committerTravis Reitter <treitter@gmail.com>2010-07-21 07:12:36 +0800
commitce240862c8f53b1bf62b80bba5f1fcdca07393d6 (patch)
tree39a6461387883b6192276f81f76ec27536c4e4d0
parent88e3360d3ac088cd67e0ca36710d84d63eca4d91 (diff)
downloadgsoc2013-empathy-ce240862c8f53b1bf62b80bba5f1fcdca07393d6.tar
gsoc2013-empathy-ce240862c8f53b1bf62b80bba5f1fcdca07393d6.tar.gz
gsoc2013-empathy-ce240862c8f53b1bf62b80bba5f1fcdca07393d6.tar.bz2
gsoc2013-empathy-ce240862c8f53b1bf62b80bba5f1fcdca07393d6.tar.lz
gsoc2013-empathy-ce240862c8f53b1bf62b80bba5f1fcdca07393d6.tar.xz
gsoc2013-empathy-ce240862c8f53b1bf62b80bba5f1fcdca07393d6.tar.zst
gsoc2013-empathy-ce240862c8f53b1bf62b80bba5f1fcdca07393d6.zip
Remove an unused connection to the telepathy-logger service
-rw-r--r--libempathy/empathy-individual-manager.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/libempathy/empathy-individual-manager.c b/libempathy/empathy-individual-manager.c
index f6a2fd33c..ef2688b14 100644
--- a/libempathy/empathy-individual-manager.c
+++ b/libempathy/empathy-individual-manager.c
@@ -47,7 +47,6 @@ typedef struct
{
FolksIndividualAggregator *aggregator;
EmpathyContactManager *contact_manager;
- TpProxy *logger;
} EmpathyIndividualManagerPriv;
G_DEFINE_TYPE (EmpathyIndividualManager, empathy_individual_manager,
@@ -122,9 +121,6 @@ individual_manager_finalize (GObject *object)
{
EmpathyIndividualManagerPriv *priv = GET_PRIV (object);
- if (priv->logger != NULL)
- g_object_unref (priv->logger);
-
if (priv->contact_manager != NULL)
g_object_unref (priv->contact_manager);
@@ -215,8 +211,6 @@ empathy_individual_manager_init (EmpathyIndividualManager *self)
{
EmpathyIndividualManagerPriv *priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
EMPATHY_TYPE_INDIVIDUAL_MANAGER, EmpathyIndividualManagerPriv);
- TpDBusDaemon *bus;
- GError *error = NULL;
self->priv = priv;
priv->contact_manager = empathy_contact_manager_dup_singleton ();
@@ -226,24 +220,6 @@ empathy_individual_manager_init (EmpathyIndividualManager *self)
G_CALLBACK (aggregator_individuals_added_cb), self);
g_signal_connect (priv->aggregator, "individuals-removed",
G_CALLBACK (aggregator_individuals_removed_cb), self);
-
- bus = tp_dbus_daemon_dup (&error);
-
- if (error == NULL)
- {
- priv->logger = g_object_new (TP_TYPE_PROXY,
- "bus-name", "org.freedesktop.Telepathy.Logger",
- "object-path",
- "/org/freedesktop/Telepathy/Logger", "dbus-daemon", bus, NULL);
- g_object_unref (bus);
-
- tp_proxy_add_interface_by_id (priv->logger, EMP_IFACE_QUARK_LOGGER);
- }
- else
- {
- DEBUG ("Failed to get telepathy-logger proxy: %s", error->message);
- g_clear_error (&error);
- }
}
EmpathyIndividualManager *