[gnome-shell/wip/fmuellner/more-minor-bug-fixes: 4/7] 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: 4/7] objectManager: Fix index mix-up
- Date: Tue, 5 Feb 2019 02:21:59 +0000 (UTC)
commit 95224bd006ee76bb20e4d5fcb882870405823aba
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]