[gnome-shell/ewlsh/dead-code: 2/2] loginDialog: Remove some dead code
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/ewlsh/dead-code: 2/2] loginDialog: Remove some dead code
- Date: Wed, 5 Jan 2022 15:43:58 +0000 (UTC)
commit 5821a9db128c2ba3e9ad90dbc6503db8f8ef5f11
Author: Evan Welsh <contact evanwelsh com>
Date: Sat Oct 30 15:22:25 2021 -0700
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 d2a82b43d1..760d7e9ef5 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]