From 8ebdb7f493c28a10bbddfc549f8e4dd29b0b7297 Mon Sep 17 00:00:00 2001 From: Maxim Ermilov Date: Fri, 28 Jan 2011 02:24:38 +0300 Subject: [PATCH] workspacesView: remove duplicate connection to same signal --- js/ui/workspacesView.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 40b7320d9..5f95a882b 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -1024,10 +1024,6 @@ WorkspacesDisplay.prototype = { this._workspaces[i] = new Workspace.Workspace(metaWorkspace); } - this._nWorkspacesNotifyId = - global.screen.connect('notify::n-workspaces', - Lang.bind(this, this._workspacesChanged)); - let binAllocation = this._workspacesBin.allocation; let binWidth = binAllocation.x2 - binAllocation.x1; let binHeight = binAllocation.y2 - binAllocation.y1;