[gnome-shell] Avoid variable redeclaration



commit 368d484dee02be8536e36a88da2c88c23f3d7bc9
Author: Colin Walters <walters verbum org>
Date:   Mon Nov 30 13:47:58 2009 -0500

    Avoid variable redeclaration
    
    https://bugzilla.gnome.org/show_bug.cgi?id=603327

 js/ui/workspaces.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/workspaces.js b/js/ui/workspaces.js
index 58e982f..f523e8a 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;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]