NetworkAgent: fix g_key_file_load_from_data()

Missed this in the rebase to the new annotations.
This commit is contained in:
Giovanni Campagna 2012-02-14 19:28:49 +01:00
parent c5804c1929
commit 97c2db1cfd

View File

@ -531,7 +531,7 @@ const VPNRequestHandler = new Lang.Class({
let contentOverride; let contentOverride;
try { try {
keyfile.load_from_data(this._dataStdout.peek_buffer(), keyfile.load_from_data(this._dataStdout.peek_buffer(), -1,
GLib.KeyFileFlags.NONE); GLib.KeyFileFlags.NONE);
if (keyfile.get_integer(VPN_UI_GROUP, 'Version') != 2) if (keyfile.get_integer(VPN_UI_GROUP, 'Version') != 2)