Avoid variable redeclaration
https://bugzilla.gnome.org/show_bug.cgi?id=603327
This commit is contained in:
parent
7b0526dc5c
commit
368d484dee
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user