[gdm] manager: drop some erroneous code
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] manager: drop some erroneous code
- Date: Fri, 31 Mar 2017 21:48:00 +0000 (UTC)
commit 09bf96930a16d0efff5cc6301e828f7d17b28530
Author: Ray Strode <rstrode redhat com>
Date: Fri Mar 31 14:56:46 2017 -0400
manager: drop some erroneous code
This is commit 82296a3350b64d0ed5ae3b9f6983466c60dd8a53 all over
again. The code snuck back in during a refactor !
https://bugzilla.gnome.org/show_bug.cgi?id=780787
daemon/gdm-manager.c | 18 ------------------
1 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index d4843a6..8169f2b 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -1935,25 +1935,7 @@ on_session_client_disconnected (GdmSession *session,
GPid pid_of_client,
GdmManager *manager)
{
- GdmDisplay *display;
- gboolean display_is_local;
-
g_debug ("GdmManager: client disconnected");
-
- display = get_display_for_user_session (session);
-
- if (display == NULL) {
- return;
- }
-
- g_object_get (G_OBJECT (display),
- "is-local", &display_is_local,
- NULL);
-
- if ( ! display_is_local && gdm_session_is_running (session)) {
- gdm_display_unmanage (display);
- gdm_display_finish (display);
- }
}
typedef struct
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]