mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
main: Remove log compatibility
global.log() hasn't been used since 3.6. It seems extremely unlikely that any extensions are still using it, not least because `log()` is more convenient. Time to move on. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2830>
This commit is contained in:
parent
b854c1bdbb
commit
f07bf7b1b6
1 changed files with 0 additions and 4 deletions
|
|
@ -169,10 +169,6 @@ function _loggingFunc(...args) {
|
|||
async function start() {
|
||||
globalThis.log = _loggingFunc;
|
||||
|
||||
// These are here so we don't break compatibility.
|
||||
global.logError = globalThis.log;
|
||||
global.log = globalThis.log;
|
||||
|
||||
// Chain up async errors reported from C
|
||||
global.connect('notify-error', (global, msg, detail) => {
|
||||
notifyError(msg, detail);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue