loginDialog: Stop using deprecated actor property

Commit 0c0d76f7d6990 made the class an actor subclass, so the actor
property is just a deprecated synonym of the object itself.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/736
This commit is contained in:
Florian Müllner 2019-09-20 13:09:13 +02:00 committed by Georges Basile Stavracas Neto
parent b6754d7db7
commit 7b45ffa511

View File

@ -921,7 +921,7 @@ var LoginDialog = GObject.registerClass({
return; return;
this._bindOpacity(); this._bindOpacity();
this.actor.ease({ this.ease({
opacity: 255, opacity: 255,
duration: _FADE_ANIMATION_TIME, duration: _FADE_ANIMATION_TIME,
mode: Clutter.AnimationMode.EASE_OUT_QUAD, mode: Clutter.AnimationMode.EASE_OUT_QUAD,
@ -944,7 +944,7 @@ var LoginDialog = GObject.registerClass({
_startSession(serviceName) { _startSession(serviceName) {
this._bindOpacity(); this._bindOpacity();
this.actor.ease({ this.ease({
opacity: 0, opacity: 0,
duration: _FADE_ANIMATION_TIME, duration: _FADE_ANIMATION_TIME,
mode: Clutter.AnimationMode.EASE_OUT_QUAD, mode: Clutter.AnimationMode.EASE_OUT_QUAD,