[gdm] daemon: clase CloseSession ck_close_session not OpenSession



commit 65c9bfa5a188490f1989662e373377f0826a924e
Author: Ray Strode <rstrode redhat com>
Date:   Wed Aug 1 14:21:44 2012 -0400

    daemon: clase CloseSession ck_close_session not OpenSession
    
    commit a0217bb095bd8e86e691d3e00472d1eb9d1d21e1 dropped ck-connector
    in favor of raw dbus calls.  It had a cut-and-paste error that meant
    ck sessions weren't explicitly closed.
    
    This commit fixes that cut-and-paste error.
    
    Just noticed while reading through the code.

 daemon/gdm-session-worker.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-session-worker.c b/daemon/gdm-session-worker.c
index afa0466..83b86b6 100644
--- a/daemon/gdm-session-worker.c
+++ b/daemon/gdm-session-worker.c
@@ -316,7 +316,7 @@ close_ck_session (GdmSessionWorker *worker)
                                              "org.freedesktop.ConsoleKit",
                                              "/org/freedesktop/ConsoleKit/Manager",
                                              "org.freedesktop.ConsoleKit.Manager",
-                                             "OpenSessionWithParameters",
+                                             "CloseSession",
                                              g_variant_new ("(s)", worker->priv->session_cookie),
                                              G_VARIANT_TYPE ("(b)"),
                                              G_DBUS_CALL_FLAGS_NONE,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]