GLib = imports.gi.GLib;
Gio = imports.gi.Gio;
-String = imports.String.String;
+//String = imports.String.String;
/**
* @namespace File
*
read : function (path) {
var out = {};
- GLib.file_get_contents(path, out, null, null);
- return out['value'];
+ out = GLib.file_get_contents(path);
+ return out['contents'];
},
isFile : function (path) {