[gdm] Clean up and correct some debug statements



commit 0ff6cefe68ad882a4bf0678ef828d1557e7830f6
Author: William Jon McCann <jmccann redhat com>
Date:   Tue Jun 8 16:07:38 2010 -0400

    Clean up and correct some debug statements
    
    https://bugzilla.gnome.org/show_bug.cgi?id=621045

 gui/simple-greeter/gdm-user-manager.c |    2 +-
 gui/simple-greeter/gdm-user.c         |    3 ---
 2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-user-manager.c b/gui/simple-greeter/gdm-user-manager.c
index a2d7fd0..ce9679a 100644
--- a/gui/simple-greeter/gdm-user-manager.c
+++ b/gui/simple-greeter/gdm-user-manager.c
@@ -1170,7 +1170,7 @@ load_ck_history (GdmUserManager *manager)
         }
 
         if (seat_id == NULL) {
-                g_warning ("Unable to find users: no seat-id found");
+                g_warning ("Unable to load CK history: no seat-id found");
                 goto out;
         }
 
diff --git a/gui/simple-greeter/gdm-user.c b/gui/simple-greeter/gdm-user.c
index 425f11a..56802b3 100644
--- a/gui/simple-greeter/gdm-user.c
+++ b/gui/simple-greeter/gdm-user.c
@@ -415,19 +415,16 @@ check_user_file (const char *filename,
 
         /* Exists/Readable? */
         if (stat (filename, &fileinfo) < 0) {
-                g_debug ("File does not exist");
                 return FALSE;
         }
 
         /* Is a regular file */
         if (G_UNLIKELY (!S_ISREG (fileinfo.st_mode))) {
-                g_debug ("File is not a regular file");
                 return FALSE;
         }
 
         /* Size is kosher? */
         if (G_UNLIKELY (fileinfo.st_size > max_file_size)) {
-                g_debug ("File is too large");
                 return FALSE;
         }
 



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