From ce03df5761df3c8571c18c0f291450ccb5ca37cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Tue, 12 Apr 2022 17:20:58 +0200 Subject: [PATCH] gdm/utils: Pass cancellable to the FPrint Device proxy and avoid signals Part-of: --- js/gdm/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/gdm/util.js b/js/gdm/util.js index e9ed77e0c..7adeaebfa 100644 --- a/js/gdm/util.js +++ b/js/gdm/util.js @@ -410,8 +410,8 @@ export class ShellUserVerifier extends Signals.EventEmitter { const args = cancellable ? [cancellable] : []; const [devicePath] = await fprintManager.GetDefaultDeviceAsync(...args); const fprintDeviceProxy = new FprintDeviceProxy(Gio.DBus.system, - 'net.reactivated.Fprint', - devicePath); + 'net.reactivated.Fprint', devicePath, null, cancellable, + Gio.DBusProxyFlags.NOT_CONNECT_SIGNALS); this._setFingerprintReaderType(fprintDeviceProxy['scan-type']); this._updateDefaultService();