mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
gdm/utils: Pass cancellable to the FPrint Device proxy and avoid signals
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2267>
This commit is contained in:
parent
885f1391ab
commit
ce03df5761
1 changed files with 2 additions and 2 deletions
|
|
@ -410,8 +410,8 @@ export class ShellUserVerifier extends Signals.EventEmitter {
|
||||||
const args = cancellable ? [cancellable] : [];
|
const args = cancellable ? [cancellable] : [];
|
||||||
const [devicePath] = await fprintManager.GetDefaultDeviceAsync(...args);
|
const [devicePath] = await fprintManager.GetDefaultDeviceAsync(...args);
|
||||||
const fprintDeviceProxy = new FprintDeviceProxy(Gio.DBus.system,
|
const fprintDeviceProxy = new FprintDeviceProxy(Gio.DBus.system,
|
||||||
'net.reactivated.Fprint',
|
'net.reactivated.Fprint', devicePath, null, cancellable,
|
||||||
devicePath);
|
Gio.DBusProxyFlags.NOT_CONNECT_SIGNALS);
|
||||||
this._setFingerprintReaderType(fprintDeviceProxy['scan-type']);
|
this._setFingerprintReaderType(fprintDeviceProxy['scan-type']);
|
||||||
this._updateDefaultService();
|
this._updateDefaultService();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue