diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 5ec1a4b26..96911bcc5 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -490,7 +490,7 @@ WellDisplayItem.prototype = { GLOW_COLOR.blue / 255, GLOW_COLOR.alpha / 255); })); - this._name.connect('notify::allocation', Lang.bind(this, function (n, alloc) { + this._name.connect('notify::allocation', Lang.bind(this, function () { let x = this._name.x; let y = this._name.y; let width = this._name.width; diff --git a/js/ui/genericDisplay.js b/js/ui/genericDisplay.js index 22e26e259..feb94d378 100644 --- a/js/ui/genericDisplay.js +++ b/js/ui/genericDisplay.js @@ -347,10 +347,10 @@ GenericDisplay.prototype = { this._list = new Shell.OverflowList({ spacing: 6.0, item_height: ITEM_DISPLAY_HEIGHT }); - this._list.connect('notify::n-pages', Lang.bind(this, function (grid, alloc) { + this._list.connect('notify::n-pages', Lang.bind(this, function () { this._updateDisplayControl(true); })); - this._list.connect('notify::page', Lang.bind(this, function (grid, alloc) { + this._list.connect('notify::page', Lang.bind(this, function () { this._updateDisplayControl(false); }));