aboutsummaryrefslogtreecommitdiff
path: root/src/backend-dbus/users.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-04-18 11:33:20 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-04-18 11:33:20 -0500
commit6ff4e525b7f1a090450b3ff40cff082888250323 (patch)
tree0bee0e99ba5253e7c2c5422cace0489da64c8541 /src/backend-dbus/users.c
parent75d79800ffbc0bdc8598b2b34164c4dabc9888c8 (diff)
downloadayatana-indicator-session-6ff4e525b7f1a090450b3ff40cff082888250323.tar.gz
ayatana-indicator-session-6ff4e525b7f1a090450b3ff40cff082888250323.tar.bz2
ayatana-indicator-session-6ff4e525b7f1a090450b3ff40cff082888250323.zip
remove #if 0 code
Diffstat (limited to 'src/backend-dbus/users.c')
-rw-r--r--src/backend-dbus/users.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/backend-dbus/users.c b/src/backend-dbus/users.c
index 4798d33..34e0c97 100644
--- a/src/backend-dbus/users.c
+++ b/src/backend-dbus/users.c
@@ -229,21 +229,6 @@ set_account_manager (IndicatorSessionUsersDbus * self, Accounts * a)
}
}
-#if 0
-static void
-create_accounts_proxy (IndicatorSessionUsersDbus * self)
-{
- const char * name = "org.freedesktop.Accounts";
- const char * path = "/org/freedesktop/Accounts";
- GDBusProxyFlags flags = G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES;
-
- accounts_proxy_new_for_bus (G_BUS_TYPE_SYSTEM,
- flags, name, path,
- self->priv->cancellable,
- on_accounts_proxy_ready, self);
-}
-#endif
-
/**
* SEAT / SESSION TRACKING
*
@@ -771,17 +756,6 @@ indicator_session_users_dbus_init (IndicatorSessionUsersDbus * self)
p->uid_to_sessions = g_hash_table_new_full (g_direct_hash, g_direct_equal,
NULL,
(GDestroyNotify)g_hash_table_destroy);
-
-#if 0
- console_kit_manager_proxy_new_for_bus (
- G_BUS_TYPE_SYSTEM,
- G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES,
- "org.freedesktop.ConsoleKit",
- "/org/freedesktop/ConsoleKit/Manager",
- p->cancellable,
- on_console_kit_manager_proxy_ready,
- self);
-#endif
}
/***