From a2f9b8ea9b1dab30580c205cb76dfb9698d0e112 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 11 Sep 2013 12:09:10 -0400 Subject: [PATCH] workspacesView: Remove dead code --- js/ui/workspacesView.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index f4de48b14..6ac7450cc 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -62,7 +62,6 @@ const WorkspacesView = new Lang.Class({ this._animating = false; // tweening this._scrolling = false; // swipe-scrolling this._animatingScroll = false; // programatically updating the adjustment - this._zoomOut = false; // zoom to a larger area this._inDrag = false; // dragging a window this._settings = new Gio.Settings({ schema: OVERRIDE_SCHEMA }); @@ -168,14 +167,6 @@ const WorkspacesView = new Lang.Class({ this._workspaces[i].setActualGeometry(geom); }, - _lookupWorkspaceForMetaWindow: function (metaWindow) { - for (let i = 0; i < this._workspaces.length; i++) { - if (this._workspaces[i].containsMetaWindow(metaWindow)) - return this._workspaces[i]; - } - return null; - }, - getActiveWorkspace: function() { let active = global.screen.get_active_workspace_index(); return this._workspaces[active]; @@ -433,10 +424,6 @@ const WorkspacesView = new Lang.Class({ this._workspaces[i].actor.y += dy; } }, - - _getWorkspaceIndexToRemove: function() { - return global.screen.get_active_workspace_index(); - } }); Signals.addSignalMethods(WorkspacesView.prototype);