notificationDaemon: fix order of arguments to _lookupSource()
The order of arguments passed to _lookupSource() was wrong, causing problems when tray icons were removed. https://bugzilla.gnome.org/show_bug.cgi?id=664138
This commit is contained in:
parent
7ff63a26b7
commit
d606ce6776
@ -480,7 +480,7 @@ NotificationDaemon.prototype = {
|
||||
},
|
||||
|
||||
_onTrayIconRemoved: function(o, icon) {
|
||||
let source = this._lookupSource(icon.pid, null, true);
|
||||
let source = this._lookupSource(null, icon.pid, true);
|
||||
if (source)
|
||||
source.destroy();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user