From a504dd866b4a4e48394c1a82d664cf2016898dc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 17 Mar 2015 05:32:04 +0100 Subject: [PATCH] calendar: Minor cleanup Commit b61cb920533e04 added a close method, use that instead of explicitly emitting the corresponding signal. --- js/ui/calendar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/calendar.js b/js/ui/calendar.js index 7fd4622ee..0e03a2b4b 100644 --- a/js/ui/calendar.js +++ b/js/ui/calendar.js @@ -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));