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
c5932c0f07
commit
29da720e6a
@ -487,7 +487,7 @@ const NotificationDaemon = new Lang.Class({
|
|||||||
},
|
},
|
||||||
|
|
||||||
_onTrayIconRemoved: function(o, icon) {
|
_onTrayIconRemoved: function(o, icon) {
|
||||||
let source = this._lookupSource(icon.pid, null, true);
|
let source = this._lookupSource(null, icon.pid, true);
|
||||||
if (source)
|
if (source)
|
||||||
source.destroy();
|
source.destroy();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user