[gnome-shell] calendar: Minor cleanup
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] calendar: Minor cleanup
- Date: Tue, 17 Mar 2015 04:35:40 +0000 (UTC)
commit a504dd866b4a4e48394c1a82d664cf2016898dc1
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Mar 17 05:32:04 2015 +0100
calendar: Minor cleanup
Commit b61cb920533e04 added a close method, use that instead of
explicitly emitting the corresponding signal.
js/ui/calendar.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/calendar.js b/js/ui/calendar.js
index 7fd4622..0e03a2b 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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]