mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
perf: Stop using legacy generator functions
This was a non-standard Mozilla extension that is no longer supported. Simply switch to the standardized generator syntax to fix. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/367
This commit is contained in:
parent
86a00b6872
commit
46575804cc
2 changed files with 2 additions and 2 deletions
|
|
@ -65,7 +65,7 @@ let WINDOW_CONFIGS = [
|
|||
{ width: 640, height: 480, alpha: true, maximized: false, count: 10, metric: 'overviewFps10Alpha' }
|
||||
];
|
||||
|
||||
function run() {
|
||||
function *run() {
|
||||
Scripting.defineScriptEvent("overviewShowStart", "Starting to show the overview");
|
||||
Scripting.defineScriptEvent("overviewShowDone", "Overview finished showing");
|
||||
Scripting.defineScriptEvent("afterShowHide", "After a show/hide cycle for the overview");
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ function extractBootTimestamp() {
|
|||
return result;
|
||||
}
|
||||
|
||||
function run() {
|
||||
function *run() {
|
||||
Scripting.defineScriptEvent("desktopShown", "Finished initial animation");
|
||||
Scripting.defineScriptEvent("overviewShowStart", "Starting to show the overview");
|
||||
Scripting.defineScriptEvent("overviewShowDone", "Overview finished showing");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue