Avoid variable redeclaration

https://bugzilla.gnome.org/show_bug.cgi?id=603327
This commit is contained in:
Colin Walters 2009-11-30 13:47:58 -05:00
parent 7b0526dc5c
commit 368d484dee

View File

@ -496,8 +496,8 @@ WindowOverlay.prototype = {
let closeNode = this.closeButton.get_theme_node(); let closeNode = this.closeButton.get_theme_node();
let [success, len] = closeNode.get_length('-shell-close-overlap', [success, len] = closeNode.get_length('-shell-close-overlap',
false); false);
if (success) if (success)
this.closeButton._overlap = len; this.closeButton._overlap = len;