dateMenu: Fix a runtime warning
GJS now warns about excess parameters, so wrap the queue_relayout() into an anonymous function instead of using it directly as signal handler.
This commit is contained in:
parent
0142fae742
commit
6362b3d057
@ -370,8 +370,7 @@ const IndicatorPad = new Lang.Class({
|
||||
|
||||
_init: function(actor) {
|
||||
this._source = actor;
|
||||
this._source.connect('notify::visible',
|
||||
Lang.bind(this, this.queue_relayout));
|
||||
this._source.connect('notify::visible', () => { this.queue_relayout(); });
|
||||
this.parent();
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user