[gnome-shell] Bug 591316 - Fix bad notify:: parameters
- From: Colin Walters <walters src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-shell] Bug 591316 - Fix bad notify:: parameters
- Date: Mon, 10 Aug 2009 15:19:16 +0000 (UTC)
commit 9fa88caded499aa3565e712a632326250c437fcf
Author: Colin Walters <walters verbum org>
Date: Mon Aug 10 11:18:19 2009 -0400
Bug 591316 - Fix bad notify:: parameters
We weren't using them, and they were wrong.
js/ui/appDisplay.js | 2 +-
js/ui/genericDisplay.js | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 5ec1a4b..96911bc 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 22e26e2..feb94d3 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);
}));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]