[gnome-shell/gnome-3-24] calendar: Fix access to undefined property
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-24] calendar: Fix access to undefined property
- Date: Thu, 13 Jul 2017 15:36:42 +0000 (UTC)
commit 384ef7e1003a7c9d3efa5ad4820b67c8a9465ea8
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Jun 13 06:41:08 2017 +0200
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/calendar.js b/js/ui/calendar.js
index 32718ea..f27c894 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());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]