gdm r5816 - in trunk: . gui/simple-greeter



Author: mccann
Date: Wed Feb 20 14:04:36 2008
New Revision: 5816
URL: http://svn.gnome.org/viewvc/gdm?rev=5816&view=rev

Log:
2008-02-20  William Jon McCann  <jmccann redhat com>

	* gui/simple-greeter/gdm-user-manager.c (reload_users):
	Don't bother running ck-history if seat id isn't set.



Modified:
   trunk/ChangeLog
   trunk/gui/simple-greeter/gdm-user-manager.c

Modified: trunk/gui/simple-greeter/gdm-user-manager.c
==============================================================================
--- trunk/gui/simple-greeter/gdm-user-manager.c	(original)
+++ trunk/gui/simple-greeter/gdm-user-manager.c	Wed Feb 20 14:04:36 2008
@@ -1180,6 +1180,7 @@
 
         if (seat_id == NULL) {
                 g_warning ("Unable to find users: no seat-id found");
+                return;
         }
 
         command = g_strdup_printf ("ck-history --frequent --seat='%s' --session-type=''",



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