[gnome-shell] messageTray: Remove unused API



commit 13ce39058de9d2c5265fa8dbff17ba055137e3dc
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Jul 3 17:26:02 2013 -0400

    messageTray: Remove unused API

 js/ui/messageTray.js |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 168d66c..34e226e 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -1377,10 +1377,6 @@ const Source = new Lang.Class({
         this.destroy();
     },
 
-    hasResidentNotification: function() {
-        return this.notifications.some(function(n) { return n.resident; });
-    },
-
     getMusicNotification: function() {
         for (let i = 0; i < this.notifications.length; i++) {
             if (this.notifications[i].isMusic)


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