diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-02-24 23:55:20 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-02-24 23:55:20 +0100 |
commit | 537442f28135bdb08e16430ffdda17bec038a25e (patch) | |
tree | 335eafe2aa86fe42e65b1d2cd80f8e651a52fb16 /src/greeter-list.vala | |
parent | c99e78a2de7c1be629fb0c343e43d0c98ab1ebe0 (diff) | |
download | arctica-greeter-537442f28135bdb08e16430ffdda17bec038a25e.tar.gz arctica-greeter-537442f28135bdb08e16430ffdda17bec038a25e.tar.bz2 arctica-greeter-537442f28135bdb08e16430ffdda17bec038a25e.zip |
src/arctica-greeter.vala: Turn get_default_session() and validate_session() into non-static methods.
Diffstat (limited to 'src/greeter-list.vala')
-rw-r--r-- | src/greeter-list.vala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/greeter-list.vala b/src/greeter-list.vala index c574778..5d943ee 100644 --- a/src/greeter-list.vala +++ b/src/greeter-list.vala @@ -61,6 +61,7 @@ public abstract class GreeterList : FadableBox public bool start_scrolling { get; set; default = true; } protected string greeter_authenticating_user; + protected ArcticaGreeter greeter; protected bool _always_show_manual = false; public bool always_show_manual @@ -964,7 +965,8 @@ public abstract class GreeterList : FadableBox protected virtual string get_lightdm_session () { - return ArcticaGreeter.get_default_session (); + greeter = new ArcticaGreeter(); + return greeter.get_default_session (); } /* Testing code below this */ |