mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue