[gnome-shell] messageTray: Don't destroy a notification from within its destroy handler



commit f73a01295cffef6daf76d41242887b615c6c61cd
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu May 23 17:41:19 2013 -0400

    messageTray: Don't destroy a notification from within its destroy handler
    
    Nothing but bad can come from this.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=700923

 js/ui/messageTray.js |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index e2db331..68f4e5c 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -1996,7 +1996,6 @@ const MessageTray = new Lang.Class({
         }
 
         let index = this._notificationQueue.indexOf(notification);
-        notification.destroy();
         if (index != -1)
             this._notificationQueue.splice(index, 1);
     },


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