aboutsummaryrefslogtreecommitdiff
path: root/src/arctica-greeter.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/arctica-greeter.vala')
-rw-r--r--src/arctica-greeter.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala
index 7958ea4..2f8d40a 100644
--- a/src/arctica-greeter.vala
+++ b/src/arctica-greeter.vala
@@ -1701,9 +1701,9 @@ public class DBusServer : Object
public string GetUser () throws GLib.DBusError, GLib.IOError
{
- string sUser = this.pGreeter.get_state ("last-user");
+ var sUser = this.pGreeter.get_state ("last-user");
- return sUser;
+ return (sUser != null) ? sUser : "*other";
}
public void SetLayout (string sLanguage, string sVariant) throws GLib.DBusError, GLib.IOError