diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-04-18 11:33:20 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-04-18 11:33:20 -0500 |
commit | 6ff4e525b7f1a090450b3ff40cff082888250323 (patch) | |
tree | 0bee0e99ba5253e7c2c5422cace0489da64c8541 /src/backend-dbus/guest.c | |
parent | 75d79800ffbc0bdc8598b2b34164c4dabc9888c8 (diff) | |
download | ayatana-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/guest.c')
-rw-r--r-- | src/backend-dbus/guest.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/backend-dbus/guest.c b/src/backend-dbus/guest.c index 516ba00..1559aa8 100644 --- a/src/backend-dbus/guest.c +++ b/src/backend-dbus/guest.c @@ -379,30 +379,6 @@ set_display_manager_seat (IndicatorSessionGuestDbus * self, DisplayManagerSeat * } } -#if 0 -static void -on_display_manager_seat_proxy_ready (GObject * o, GAsyncResult * res, gpointer gself) -{ - GError * err; - DisplayManagerSeat * seat; - g_debug ("%s %s", G_STRLOC, G_STRFUNC); - - err = NULL; - seat = display_manager_seat_proxy_new_for_bus_finish (res, &err); - if (err != NULL) - { - g_warning ("%s %s: %s", G_STRLOC, G_STRFUNC, err->message); - g_error_free (err); - } - else - { - set_display_manager_seat (INDICATOR_SESSION_GUEST_DBUS(gself), seat); - } - - g_clear_object (&seat); -} -#endif - static void on_switch_to_guest_done (GObject * o, GAsyncResult * res, gpointer unused G_GNUC_UNUSED) { @@ -529,16 +505,6 @@ indicator_session_guest_dbus_init (IndicatorSessionGuestDbus * self) IndicatorSessionGuestDbusPriv); p->cancellable = g_cancellable_new (); self->priv = p; - -#if 0 - display_manager_seat_proxy_new_for_bus (G_BUS_TYPE_SYSTEM, - G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES, - "org.freedesktop.DisplayManager", - g_getenv ("XDG_SEAT_PATH"), - self->priv->cancellable, - on_display_manager_seat_proxy_ready, - self); -#endif } /*** |