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
32fdc22811
commit
b73c96d14c
@ -761,8 +761,8 @@ const NotificationMessage = new Lang.Class({
|
|||||||
_init: function(notification) {
|
_init: function(notification) {
|
||||||
this.notification = notification;
|
this.notification = notification;
|
||||||
|
|
||||||
this.setUseBodyMarkup(notification.bannerBodyMarkup);
|
|
||||||
this.parent(notification.title, notification.bannerBodyText);
|
this.parent(notification.title, notification.bannerBodyText);
|
||||||
|
this.setUseBodyMarkup(notification.bannerBodyMarkup);
|
||||||
|
|
||||||
this.setIcon(this._getIcon());
|
this.setIcon(this._getIcon());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user