From: Alan Knowles Date: Mon, 2 Apr 2012 07:42:59 +0000 (+0800) Subject: File.js X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=03ba20c18fb29fa2eeb3d7d10e5121875917992d File.js --- diff --git a/File.js b/File.js index 2bab6270..53a4fad5 100644 --- a/File.js +++ b/File.js @@ -113,8 +113,8 @@ var File = { * @returns {String} the resolved path path. * */ - realpath : function (path) { - return this.canonical(path); + realpath : function (path) { + return imports.os.realpath(path); }, canonical : function (path) { var f = Gio.file_new_for_path(String(path));