fileUtils: Delete deleteGFile hack

It is true that delete is a javascript keyword, but that doesn't
prevent it from being used as method name - there are event built-in
types like Map or Set with delete() methods!

So if that hack was ever needed, this hasn't been the case for years
now; just removed the hack now.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/862
This commit is contained in:
Florian Müllner
2019-11-25 22:54:44 +01:00
committed by Georges Basile Stavracas Neto
parent 66f4feeb16
commit 0a9e1b4173
2 changed files with 4 additions and 9 deletions

View File

@ -41,7 +41,7 @@ var ExtensionManager = class {
}
GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT, 60, () => {
FileUtils.deleteGFile(disableFile);
disableFile.delete(null);
return GLib.SOURCE_REMOVE;
});