calendar: Minor cleanup

Commit b61cb92053 added a close method, use that instead of
explicitly emitting the corresponding signal.
This commit is contained in:
Florian Müllner 2015-03-17 05:32:04 +01:00
parent dfc51ef243
commit a504dd866b

View File

@ -1227,7 +1227,7 @@ const NotificationMessage = new Lang.Class({
notification.connect('destroy', Lang.bind(this,
function() {
if (!this._closed)
this.emit('close');
this.close();
}));
this._updatedId = notification.connect('updated',
Lang.bind(this, this._onUpdated));