mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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:
parent
66f4feeb16
commit
0a9e1b4173
2 changed files with 4 additions and 9 deletions
|
|
@ -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;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue