Revert "networkAgent: Adjust to introspection change"

This reverts commit 4181035981.

The commit that caused this change was reverted in GLib.
This commit is contained in:
Emmanuele Bassi 2017-07-21 15:34:50 +01:00
parent 4181035981
commit 825f1cc072

View File

@ -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;