summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Welsh <contact@evanwelsh.com>2021-10-30 15:22:25 -0700
committerFlorian Müllner <fmuellner@gnome.org>2022-01-05 16:42:49 +0100
commit5821a9db128c2ba3e9ad90dbc6503db8f8ef5f11 (patch)
treee0a7908bc8fea968b099d2b35da40fb9e0a0a047
parentb58ebe708f2c2c9993c8cfaabb221ebebad29bdf (diff)
downloadgnome-shell-ewlsh/dead-code.tar.gz
loginDialog: Remove some dead codeewlsh/dead-code
_getBannerAllocation() takes a single argument.
-rw-r--r--js/gdm/loginDialog.js2
1 files changed, 1 insertions, 1 deletions
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;
}