workspacesView: remove duplicate connection to same signal

This commit is contained in:
Maxim Ermilov 2011-01-28 02:24:38 +03:00
parent 6c55ca59b0
commit 8ebdb7f493

View File

@ -1024,10 +1024,6 @@ WorkspacesDisplay.prototype = {
this._workspaces[i] = new Workspace.Workspace(metaWorkspace); 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 binAllocation = this._workspacesBin.allocation;
let binWidth = binAllocation.x2 - binAllocation.x1; let binWidth = binAllocation.x2 - binAllocation.x1;
let binHeight = binAllocation.y2 - binAllocation.y1; let binHeight = binAllocation.y2 - binAllocation.y1;