[gdm] Don't wait a mandatory 2 seconds when resetting greeter



commit 356460b290efae0938df64dba342c08cf662e2dd
Author: William Jon McCann <jmccann redhat com>
Date:   Thu Jun 10 18:38:30 2010 -0400

    Don't wait a mandatory 2 seconds when resetting greeter

 daemon/gdm-simple-slave.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-simple-slave.c b/daemon/gdm-simple-slave.c
index 265e20a..8cdf486 100644
--- a/daemon/gdm-simple-slave.c
+++ b/daemon/gdm-simple-slave.c
@@ -205,7 +205,7 @@ queue_greeter_reset (GdmSimpleSlave *slave)
                 return;
         }
 
-        slave->priv->greeter_reset_id = g_timeout_add_seconds (2, (GSourceFunc)greeter_reset_timeout, slave);
+        slave->priv->greeter_reset_id = g_idle_add ((GSourceFunc)greeter_reset_timeout, slave);
 }
 
 static void



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