thunderbolt: fix missing variable underscore for enrolling

The variable `this.enrolling` is a typo because it has not been defined
before and is also never used.
`this._enrolling` is what it was meant to be.
This commit is contained in:
RyuzakiKK 2018-12-07 10:51:39 +01:00 committed by Carlos Garnacho
parent e5ce3d541e
commit 616852cf2b

View File

@ -195,7 +195,7 @@ var AuthRobot = new Lang.Class({
if (this._enrolling) if (this._enrolling)
return; return;
this.enrolling = true; this._enrolling = true;
GLib.idle_add(GLib.PRIORITY_DEFAULT, GLib.idle_add(GLib.PRIORITY_DEFAULT,
this._enrollDevicesIdle.bind(this)); this._enrollDevicesIdle.bind(this));
}, },