js: Queue 'later' via MetaLaters
This replaces the meta_later_add() API which used now removed global singletons under the hood. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2557>
This commit is contained in:
@ -860,7 +860,8 @@ class WorkspacesDisplay extends St.Widget {
|
||||
|
||||
_onDestroy() {
|
||||
if (this._parentSetLater) {
|
||||
Meta.later_remove(this._parentSetLater);
|
||||
const laters = global.compositor.get_laters();
|
||||
laters.remove(this._parentSetLater);
|
||||
this._parentSetLater = 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user