authPrompt: Initialize property in _init()
This avoid a "reference to undefined property" warning when using it in a comparison. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1035
This commit is contained in:
parent
2c1d654035
commit
ff39b3274b
@ -55,6 +55,7 @@ var AuthPrompt = GObject.registerClass({
|
||||
|
||||
this._gdmClient = gdmClient;
|
||||
this._mode = mode;
|
||||
this._defaultButtonWellActor = null;
|
||||
|
||||
let reauthenticationOnly;
|
||||
if (this._mode == AuthPromptMode.UNLOCK_ONLY)
|
||||
|
Loading…
Reference in New Issue
Block a user