mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
environment: Remove old compatibility code
St.set_slow_down_factor() has been deprecated for over 3 years (since 3.34). That's plenty of time for extensions to switch to St.Settings.get().slow_down_factor. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2743>
This commit is contained in:
parent
2815f33458
commit
9168e2fc63
1 changed files with 0 additions and 6 deletions
|
|
@ -398,12 +398,6 @@ function init() {
|
|||
return Shell.util_touch_file_finish(this, result);
|
||||
};
|
||||
|
||||
St.set_slow_down_factor = function (factor) {
|
||||
let { stack } = new Error();
|
||||
log(`St.set_slow_down_factor() is deprecated, use St.Settings.slow_down_factor\n${stack}`);
|
||||
St.Settings.get().slow_down_factor = factor;
|
||||
};
|
||||
|
||||
let origToString = Object.prototype.toString;
|
||||
Object.prototype.toString = function () {
|
||||
let base = origToString.call(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue