From 9a47b4b343018bf07fdf1c57b3bf6ffaf5c2be4e Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Thu, 28 Jun 2018 18:37:44 -0300 Subject: [PATCH] switcherList: Remove unused variable The title is self-explanatory, 'primary' was not being used anywhere. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/153 --- js/ui/switcherPopup.js | 1 - 1 file changed, 1 deletion(-) diff --git a/js/ui/switcherPopup.js b/js/ui/switcherPopup.js index ad77787cf..e8681443c 100644 --- a/js/ui/switcherPopup.js +++ b/js/ui/switcherPopup.js @@ -587,7 +587,6 @@ var SwitcherList = new Lang.Class({ let children = this._list.get_children(); let childBox = new Clutter.ActorBox(); - let primary = Main.layoutManager.primaryMonitor; let parentRightPadding = this.actor.get_parent().get_theme_node().get_padding(St.Side.RIGHT); for (let i = 0; i < children.length; i++) {