notificationDaemon: fix problem with cherry-pick to gnome-3-2

When backporting 7e654ab3ca
(notificationDaemon: group sources based on a combination of pid and title)
to old-style classes, the new trayIcon argument needed to be added to the
actual constructor.

https://bugzilla.gnome.org/show_bug.cgi?id=664138
This commit is contained in:
Owen W. Taylor 2012-01-19 12:19:07 -05:00
parent f8c980cb22
commit 7ff63a26b7

View File

@ -488,8 +488,8 @@ NotificationDaemon.prototype = {
DBus.conformExport(NotificationDaemon.prototype, NotificationDaemonIface);
function Source(title, pid, sender) {
this._init(title, pid, sender);
function Source(title, pid, sender, trayIcon) {
this._init(title, pid, sender, trayIcon);
}
Source.prototype = {