From d606ce6776c36209d6095dd70f75f2c4834677af Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Thu, 19 Jan 2012 12:33:15 -0500 Subject: [PATCH] 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 --- 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 111f6b487..0a4e50ea3 100644 --- a/js/ui/notificationDaemon.js +++ b/js/ui/notificationDaemon.js @@ -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(); }