File.js
[gnome.introspection-doc-generator] / File.js
diff --git a/File.js b/File.js
index 647afe0..e788e59 100755 (executable)
--- a/File.js
+++ b/File.js
@@ -124,7 +124,7 @@ var File = {
     remove : function (path)
     {
         var f = Gio.file_new_for_path(String(path));
-        return f.delete();
+        return f['delete']();
     },
     // copy files recursively from fromDir, silently ignore them if they already exist in toDir
     silentRecursiveCopy : function (fromDir, toDir) {