networkAgent: Adjust to introspection change

GLib commit fd329f4853f1 added annotations to GKeyFile methods that
change the API on the JS level, so adjust to that.
This commit is contained in:
Florian Müllner 2017-07-20 17:14:31 +02:00
parent ae0eeb0dca
commit 4181035981

View File

@ -514,7 +514,7 @@ var VPNRequestHandler = new Lang.Class({
message: keyfile.get_string(VPN_UI_GROUP, 'Description'),
secrets: [] };
let [groups, len] = keyfile.get_groups();
let groups = keyfile.get_groups();
for (let i = 0; i < groups.length; i++) {
if (groups[i] == VPN_UI_GROUP)
continue;