[gdm] Add debug messages for timed login



commit 2c0e893f86804fdda5de6f2a80618dfa396f6207
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Fri May 30 20:33:49 2014 +0200

    Add debug messages for timed login

 daemon/gdm-manager.c |    3 +++
 daemon/gdm-session.c |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index 09853d6..9c3be71 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -1577,6 +1577,7 @@ on_ready_to_request_timed_login (GdmSession         *session,
                                  GSimpleAsyncResult *result,
                                  gpointer           *user_data)
 {
+        g_debug ("GdmManager: ready to request timed login");
         int delay = GPOINTER_TO_INT (user_data);
         GCancellable *cancellable;
         char         *username;
@@ -1610,6 +1611,7 @@ on_ready_to_request_timed_login (GdmSession         *session,
 static gboolean
 on_wait_for_greeter_timeout (GSimpleAsyncResult *result)
 {
+        g_debug ("GdmManager: wait for greeter timeout");
         g_simple_async_result_complete (result);
 
         return FALSE;
@@ -1733,6 +1735,7 @@ on_session_client_connected (GdmSession      *session,
         }
 
         g_free (username);
+
 }
 
 static void
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
index f759d2d..07eed5e 100644
--- a/daemon/gdm-session.c
+++ b/daemon/gdm-session.c
@@ -2613,6 +2613,7 @@ gdm_session_request_timed_login (GdmSession *self,
                                  const char *username,
                                  int         delay)
 {
+        g_debug ("GdmSession: requesting timed login");
         if (self->priv->greeter_interface != NULL) {
                 gdm_dbus_greeter_emit_timed_login_requested (self->priv->greeter_interface,
                                                              username,


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