[gnome-shell] Remove some "let global ..."s that snuck back in as part of old patches
- From: Dan Winship <danw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-shell] Remove some "let global ..."s that snuck back in as part of old patches
- Date: Wed, 9 Sep 2009 13:42:06 +0000 (UTC)
commit 678a88dbdb077715651f0221c535b2eb677db531
Author: Dan Winship <danw gnome org>
Date: Wed Sep 9 09:41:26 2009 -0400
Remove some "let global ..."s that snuck back in as part of old patches
js/ui/overview.js | 3 ---
js/ui/workspaces.js | 3 ---
2 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/js/ui/overview.js b/js/ui/overview.js
index 962e239..0d66800 100644
--- a/js/ui/overview.js
+++ b/js/ui/overview.js
@@ -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');
},
diff --git a/js/ui/workspaces.js b/js/ui/workspaces.js
index 5a3673b..07a7fc7 100644
--- a/js/ui/workspaces.js
+++ b/js/ui/workspaces.js
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]