[gnome-shell/gnome-3-28] calendar: chain up to parent on _onDestroy
- From: Marco Trevisan <marcotrevi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-28] calendar: chain up to parent on _onDestroy
- Date: Mon, 3 Sep 2018 23:39:51 +0000 (UTC)
commit 94897492bef2e8f9bfcc671ec98087f2752eab8b
Author: Florian Müllner <fmuellner gnome org>
Date: Mon Jul 9 11:31:26 2018 +0000
calendar: chain up to parent on _onDestroy
(cherry picked from commit 5bca4a884e8f02441a89d7b44490339d869e5966)
js/ui/calendar.js | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/js/ui/calendar.js b/js/ui/calendar.js
index 651aac610..fd133ccae 100644
--- a/js/ui/calendar.js
+++ b/js/ui/calendar.js
@@ -802,6 +802,8 @@ var NotificationMessage = new Lang.Class({
},
_onDestroy() {
+ this.parent();
+
if (this._updatedId)
this.notification.disconnect(this._updatedId);
this._updatedId = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]