[gnome-shell/wip/rstrode/rhel-7.9: 50/86] workspaceThumbnail: Initialize signal handler ids to 0
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/rstrode/rhel-7.9: 50/86] workspaceThumbnail: Initialize signal handler ids to 0
- Date: Fri, 12 Feb 2021 19:04:07 +0000 (UTC)
commit b020954e29639441e018f66121171e8df23e703b
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Wed Apr 25 22:03:16 2018 +0200
workspaceThumbnail: Initialize signal handler ids to 0
They are used in conditions, so initialize them first.
js/ui/workspaceThumbnail.js | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/js/ui/workspaceThumbnail.js b/js/ui/workspaceThumbnail.js
index 381169ea62..82686e68f2 100644
--- a/js/ui/workspaceThumbnail.js
+++ b/js/ui/workspaceThumbnail.js
@@ -678,6 +678,11 @@ var ThumbnailsBox = new Lang.Class({
this._updateSwitcherVisibility.bind(this));
Main.layoutManager.connect('monitors-changed', this._rebuildThumbnails.bind(this));
+
+ this._switchWorkspaceNotifyId = 0;
+ this._nWorkspacesNotifyId = 0;
+ this._syncStackingId = 0;
+ this._workareasChangedId = 0;
},
_updateSwitcherVisibility() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]