workspacesView: remove duplicate connection to same signal
This commit is contained in:
parent
6c55ca59b0
commit
8ebdb7f493
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user