summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Koegel <eric.koegel@gmail.com>2015-02-25 13:50:39 +0300
committerRay Strode <rstrode@redhat.com>2015-02-25 08:52:15 -0500
commit706af674479c8dad868dee646b809dead6ac9445 (patch)
tree43c5987fafa9c8192b766f3ee6fa21460479b64b
parentc7f2abd1b5f2916b8a61dcf86cb245f898123f12 (diff)
downloadaccountsservice-706af674479c8dad868dee646b809dead6ac9445.tar.gz
daemon: remove dead code
In commit 2c51bd83b65076cf98bd1baf48d9add31435d118, DBusGProxy *bus_proxy was converted to GDBusProxy but the daemon hasn't needed or used the bus_proxy since the conversion to GDBUS. This patch simply removes it. https://bugs.freedesktop.org/show_bug.cgi?id=89318
-rw-r--r--src/daemon.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/daemon.c b/src/daemon.c
index 01afd07..e62e124 100644
--- a/src/daemon.c
+++ b/src/daemon.c
@@ -57,7 +57,6 @@ enum {
struct DaemonPrivate {
GDBusConnection *bus_connection;
- GDBusProxy *bus_proxy;
GHashTable *users;
@@ -550,9 +549,6 @@ daemon_finalize (GObject *object)
daemon = DAEMON (object);
- if (daemon->priv->bus_proxy != NULL)
- g_object_unref (daemon->priv->bus_proxy);
-
if (daemon->priv->bus_connection != NULL)
g_object_unref (daemon->priv->bus_connection);