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
This commit is contained in:
parent
451c753e4a
commit
384ef7e100
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user