[gnome-shell/wip/fmuellner/more-minor-bug-fixes: 1/4] objectManager: Fix index mix-up
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/more-minor-bug-fixes: 1/4] objectManager: Fix index mix-up
- Date: Mon, 4 Feb 2019 18:44:48 +0000 (UTC)
commit 85c8b116f10bda788ecdab49480031a0b8f9b7cc
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Jan 31 14:15:58 2019 +0100
objectManager: Fix index mix-up
Spotted by eslint.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/388
js/misc/objectManager.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/misc/objectManager.js b/js/misc/objectManager.js
index 26186dd6b..a708ac818 100644
--- a/js/misc/objectManager.js
+++ b/js/misc/objectManager.js
@@ -281,8 +281,8 @@ var ObjectManager = class {
let object = this._objects[objectPaths];
let interfaceNames = Object.keys(object);
- for (let j = 0; i < interfaceNames.length; i++) {
- let interfaceName = interfaceNames[i];
+ for (let j = 0; j < interfaceNames.length; j++) {
+ let interfaceName = interfaceNames[j];
if (object[interfaceName])
proxies.push(object(interfaceName));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]