[gdm] worker: silence warning in log



commit c60b26bce4ce0a82d64934e66d36ae3d96e4516f
Author: Ray Strode <rstrode redhat com>
Date:   Sat Feb 21 15:49:54 2015 -0500

    worker: silence warning in log
    
    This commit silences a harmless warning about the main loop
    being unable to remove a source.

 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 58f3977..39e97b5 100644
--- a/daemon/gdm-session-worker.c
+++ b/daemon/gdm-session-worker.c
@@ -1632,7 +1632,7 @@ session_worker_child_watch (GPid              pid,
                                              status);
 
         worker->priv->child_pid = -1;
-
+        worker->priv->child_watch_id = 0;
         run_script (worker, GDMCONFDIR "/PostSession");
 }
 


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