[gnome-shell] notificationDaemon: Explicitly return false from an idle



commit 2672f205fd8168fb8c2dfbb0e2dd10e651f6d0f4
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Aug 28 16:23:49 2012 -0300

    notificationDaemon: Explicitly return false from an idle

 js/ui/notificationDaemon.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js
index 0c4d9d1..80803cf 100644
--- a/js/ui/notificationDaemon.js
+++ b/js/ui/notificationDaemon.js
@@ -256,6 +256,7 @@ const NotificationDaemon = new Lang.Class({
             Mainloop.idle_add(Lang.bind(this,
                                         function () {
                                             this._emitNotificationClosed(id, NotificationClosedReason.DISMISSED);
+                                            return false;
                                         }));
             return invocation.return_value(GLib.Variant.new('(u)', [id]));
         }



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