From 5821a9db128c2ba3e9ad90dbc6503db8f8ef5f11 Mon Sep 17 00:00:00 2001 From: Evan Welsh Date: Sat, 30 Oct 2021 15:22:25 -0700 Subject: loginDialog: Remove some dead code _getBannerAllocation() takes a single argument. --- js/gdm/loginDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index d2a82b43d..760d7e9ef 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -602,7 +602,7 @@ var LoginDialog = GObject.registerClass({ let bannerAllocation = null; let bannerHeight = 0; if (this._bannerView.visible) { - bannerAllocation = this._getBannerAllocation(dialogBox, this._bannerView); + bannerAllocation = this._getBannerAllocation(dialogBox); bannerHeight = bannerAllocation.y2 - bannerAllocation.y1; } -- cgit v1.2.1