Remove some "let global ..."s that snuck back in as part of old patches

This commit is contained in:
Dan Winship 2009-09-09 09:41:26 -04:00
parent 5e944c9a3b
commit 678a88dbdb
2 changed files with 0 additions and 6 deletions

View File

@ -438,8 +438,6 @@ Overview.prototype = {
},
_addNewWorkspace: function() {
let global = Shell.Global.get();
global.screen.append_new_workspace(false, global.screen.get_display().get_current_time());
},
@ -462,7 +460,6 @@ AddWorkspaceButton.prototype = {
height: buttonSize,
reactive: true });
this._acceptDropCallback = acceptDropCallback;
let global = Shell.Global.get();
this.actor._delegate = this;
this.actor.set_from_file(global.imagedir + 'add-workspace.svg');
},

View File

@ -206,8 +206,6 @@ WindowClone.prototype = {
},
_zoomUpdate : function () {
let global = Shell.Global.get();
[this.actor.x, this.actor.y] = this._zoomGlobalOrig.interpPosition(this._zoomTarget, this._zoomStep / 100);
[this.actor.scale_x, this.actor.scale_y] = this._zoomGlobalOrig.interpScale(this._zoomTarget, this._zoomStep / 100);
@ -218,7 +216,6 @@ WindowClone.prototype = {
},
_zoomStart : function () {
let global = Shell.Global.get();
this._zoomOverlay = new Clutter.Rectangle({ reactive: true,
color: LIGHTBOX_COLOR,
border_width: 0,