extensions: Stop using global.log()

It has been deprecated since 3.6(!) in favor of the actually
global log().

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/264>
This commit is contained in:
Florian Müllner
2023-07-10 06:51:45 +02:00
parent 3bfaf6f88a
commit 93a2e7bdba
2 changed files with 3 additions and 3 deletions

View File

@@ -43,9 +43,9 @@ export default class ThemeManager {
}
if (stylesheet)
global.log(`loading user theme: ${stylesheet}`);
log(`loading user theme: ${stylesheet}`);
else
global.log('loading default theme (Adwaita)');
log('loading default theme (Adwaita)');
Main.setThemeStylesheet(stylesheet);
Main.loadTheme();
}

View File

@@ -212,7 +212,7 @@ class MyWorkspacesView extends WorkspacesView.WorkspacesView {
c = o.get_key_symbol() - Clutter.KEY_0;
if (c > 9 || c <= 0) {
this._hideTooltips();
global.log(c);
log(c);
return false;
}
}