Skip to content

Fix actor deprecation warnings on login/unlock screens

LoginDialog was turned into an actor subclass a long time ago, but not all code was adjusted:

Sep 20 13:04:40 silbersee gnome-shell[1022]: Usage of object.actor is deprecated for LoginDialog
                                             get@resource:///org/gnome/shell/ui/environment.js:235:29
                                             _hideLockScreenComplete@resource:///org/gnome/shell/ui/screenShield.js:916:13
                                             onComplete@resource:///org/gnome/shell/ui/screenShield.js:945:35
                                             _makeEaseCallback/<@resource:///org/gnome/shell/ui/environment.js:75:13
                                             _easeActor/<@resource:///org/gnome/shell/ui/environment.js:126:60
Sep 20 13:04:40 silbersee gnome-shell[1022]: Usage of object.actor is deprecated for LoginDialog
                                             get@resource:///org/gnome/shell/ui/environment.js:235:29
                                             _hideLockScreenComplete@resource:///org/gnome/shell/ui/screenShield.js:917:13
                                             onComplete@resource:///org/gnome/shell/ui/screenShield.js:945:35
                                             _makeEaseCallback/<@resource:///org/gnome/shell/ui/environment.js:75:13
                                             _easeActor/<@resource:///org/gnome/shell/ui/environment.js:126:60
[...]
Sep 20 13:04:48 silbersee gnome-shell[1022]: Usage of object.actor is deprecated for LoginDialog
                                             get@resource:///org/gnome/shell/ui/environment.js:235:29
                                             _startSession@resource:///org/gnome/shell/gdm/loginDialog.js:947:9
                                             _onSessionOpened/<@resource:///org/gnome/shell/gdm/loginDialog.js:959:39
                                             finish/signalId<@resource:///org/gnome/shell/gdm/authPrompt.js:499:13
                                             _emit@resource:///org/gnome/gjs/modules/signals.js:135:27
                                             finishMessageQueue@resource:///org/gnome/shell/gdm/util.js:245:9
                                             _queueMessageTimeout@resource:///org/gnome/shell/gdm/util.js:250:13
                                             _queueMessageTimeout/this._messageQueueTimeoutId<@resource:///org/gnome/shell/gdm/util.js:265:60

Fix those warnings.

Merge request reports