From b73c96d14c13858ba48ff3dec0b3131b83bb8adb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 13 Jun 2017 06:41:08 +0200 Subject: [PATCH] calendar: Fix access to undefined property Don't call a parent method before chaining-up _init() to avoid a warning about access to an undefined property. https://bugzilla.gnome.org/show_bug.cgi?id=781471 --- 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 32718ea6d..f27c894dc 100644 --- a/js/ui/calendar.js +++ b/js/ui/calendar.js @@ -761,8 +761,8 @@ const NotificationMessage = new Lang.Class({ _init: function(notification) { this.notification = notification; - this.setUseBodyMarkup(notification.bannerBodyMarkup); this.parent(notification.title, notification.bannerBodyText); + this.setUseBodyMarkup(notification.bannerBodyMarkup); this.setIcon(this._getIcon());