From f0b4dd648c901fdb719c801d7f7af919fc78f7b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 4 Feb 2023 23:01:03 +0100 Subject: [PATCH] workspacesView: Remove obsolete cleanup Since commit a9f11b1f5a3e9, we no longer set up a later on parent-set, so there's nothing to clean up. Part-of: --- js/ui/workspacesView.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 930b720b3..29d1c65f1 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -854,16 +854,6 @@ class WorkspacesDisplay extends St.Widget { this._leavingOverview = false; this._gestureActive = false; // touch(pad) gestures - - this.connect('destroy', this._onDestroy.bind(this)); - } - - _onDestroy() { - if (this._parentSetLater) { - const laters = global.compositor.get_laters(); - laters.remove(this._parentSetLater); - this._parentSetLater = 0; - } } _windowDragBegin() {