From 825f1cc072e47e1ff6a6d17fb7712c75b98d118e Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 21 Jul 2017 15:34:50 +0100 Subject: [PATCH] Revert "networkAgent: Adjust to introspection change" This reverts commit 4181035981720ea0be863846f2524b767a46d22c. The commit that caused this change was reverted in GLib. --- js/ui/components/networkAgent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/components/networkAgent.js b/js/ui/components/networkAgent.js index 3b369ec69..fd59c11ca 100644 --- a/js/ui/components/networkAgent.js +++ b/js/ui/components/networkAgent.js @@ -514,7 +514,7 @@ var VPNRequestHandler = new Lang.Class({ message: keyfile.get_string(VPN_UI_GROUP, 'Description'), secrets: [] }; - let groups = keyfile.get_groups(); + let [groups, len] = keyfile.get_groups(); for (let i = 0; i < groups.length; i++) { if (groups[i] == VPN_UI_GROUP) continue;