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 [success, len] = closeNode.get_length('-shell-close-overlap',
false);
[success, len] = closeNode.get_length('-shell-close-overlap',
false);
if (success)
this.closeButton._overlap = len;