calendar: Minor cleanup
Commit b61cb92053
added a close method, use that instead of
explicitly emitting the corresponding signal.
This commit is contained in:
parent
dfc51ef243
commit
a504dd866b
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user