[gnome-shell] networkAgent: Adjust to introspection change
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] networkAgent: Adjust to introspection change
- Date: Thu, 20 Jul 2017 15:17:31 +0000 (UTC)
commit 4181035981720ea0be863846f2524b767a46d22c
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Jul 20 17:14:31 2017 +0200
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.
js/ui/components/networkAgent.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/components/networkAgent.js b/js/ui/components/networkAgent.js
index fd59c11..3b369ec 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, len] = keyfile.get_groups();
+ let groups = keyfile.get_groups();
for (let i = 0; i < groups.length; i++) {
if (groups[i] == VPN_UI_GROUP)
continue;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]