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:

committed by
Georges Basile Stavracas Neto

parent
66f4feeb16
commit
0a9e1b4173
@ -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;
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user