[notification-daemon] Don't queue an exit if no notifications have expirations



commit 5d92d0bcff3dddd8d6cf9a24cc5226ca717b286d
Author: William Jon McCann <jmccann redhat com>
Date:   Sat Jun 26 19:30:49 2010 -0400

    Don't queue an exit if no notifications have expirations
    
    Because there may be still notifications that don't expire.

 src/daemon/daemon.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
index af93fce..8edeeb4 100644
--- a/src/daemon/daemon.c
+++ b/src/daemon/daemon.c
@@ -848,7 +848,6 @@ _check_expiration (NotifyDaemon *daemon)
 
         if (!has_more_timeouts) {
                 daemon->priv->timeout_source = 0;
-                add_exit_timeout (daemon);
         }
 
         return has_more_timeouts;



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