From 368d484dee02be8536e36a88da2c88c23f3d7bc9 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 30 Nov 2009 13:47:58 -0500 Subject: [PATCH] Avoid variable redeclaration https://bugzilla.gnome.org/show_bug.cgi?id=603327 --- js/ui/workspaces.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/workspaces.js b/js/ui/workspaces.js index 58e982fc0..f523e8a58 100644 --- a/js/ui/workspaces.js +++ b/js/ui/workspaces.js @@ -496,8 +496,8 @@ WindowOverlay.prototype = { let closeNode = this.closeButton.get_theme_node(); - let [success, len] = closeNode.get_length('-shell-close-overlap', - false); + [success, len] = closeNode.get_length('-shell-close-overlap', + false); if (success) this.closeButton._overlap = len;