[gnome-shell] notificationDaemon: Don't pass unused extra hints value



commit 367b1c0627f62edfb4b2ef970bfef134fa212330
Author: Marco Trevisan (Treviño) <mail 3v1n0 net>
Date:   Fri Nov 9 02:08:25 2018 -0600

    notificationDaemon: Don't pass unused extra hints value
    
    Probably this is a leftover of old implementations of _iconForNotificationData,
    but right now this only takes a value, so just pass one.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/285

 js/ui/notificationDaemon.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js
index fd4d3e477..b897b8a71 100644
--- a/js/ui/notificationDaemon.js
+++ b/js/ui/notificationDaemon.js
@@ -292,7 +292,7 @@ var FdoNotificationDaemon = new Lang.Class({
             });
         }
 
-        let gicon = this._iconForNotificationData(icon, hints);
+        let gicon = this._iconForNotificationData(icon);
         let gimage = this._imageForNotificationData(hints);
 
         // If an icon is not specified, we use 'image-data' or 'image-path' hint for an icon


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