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:
parent
ae0eeb0dca
commit
4181035981
@ -514,7 +514,7 @@ var VPNRequestHandler = new Lang.Class({
|
|||||||
message: keyfile.get_string(VPN_UI_GROUP, 'Description'),
|
message: keyfile.get_string(VPN_UI_GROUP, 'Description'),
|
||||||
secrets: [] };
|
secrets: [] };
|
||||||
|
|
||||||
let [groups, len] = keyfile.get_groups();
|
let groups = keyfile.get_groups();
|
||||||
for (let i = 0; i < groups.length; i++) {
|
for (let i = 0; i < groups.length; i++) {
|
||||||
if (groups[i] == VPN_UI_GROUP)
|
if (groups[i] == VPN_UI_GROUP)
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user