calendar: Minor cleanup
Commit b61cb92053
added a close method, use that instead of
explicitly emitting the corresponding signal.
This commit is contained in:
@@ -1227,7 +1227,7 @@ const NotificationMessage = new Lang.Class({
|
|||||||
notification.connect('destroy', Lang.bind(this,
|
notification.connect('destroy', Lang.bind(this,
|
||||||
function() {
|
function() {
|
||||||
if (!this._closed)
|
if (!this._closed)
|
||||||
this.emit('close');
|
this.close();
|
||||||
}));
|
}));
|
||||||
this._updatedId = notification.connect('updated',
|
this._updatedId = notification.connect('updated',
|
||||||
Lang.bind(this, this._onUpdated));
|
Lang.bind(this, this._onUpdated));
|
||||||
|
Reference in New Issue
Block a user