aboutsummaryrefslogtreecommitdiff
path: root/src/greeter-list.vala
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-05-07 20:53:09 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-05-07 20:53:09 +0200
commit7004a8b66768d6d8f9b358fc6960dab9424514ad (patch)
tree1043bc53c1bb25d386d7ebd59bb9637aa50f204c /src/greeter-list.vala
parent3c44cdf781d4fcb55b4e0c95043f172f218baaa7 (diff)
parentbfb99d8737fd6c62fa24c6980a4d916008de17c4 (diff)
downloadarctica-greeter-7004a8b66768d6d8f9b358fc6960dab9424514ad.tar.gz
arctica-greeter-7004a8b66768d6d8f9b358fc6960dab9424514ad.tar.bz2
arctica-greeter-7004a8b66768d6d8f9b358fc6960dab9424514ad.zip
Merge branch 'tari01-pr/dbus-server'
Attributes GH PR #46: https://github.com/ArcticaProject/arctica-greeter/pull/46
Diffstat (limited to 'src/greeter-list.vala')
-rw-r--r--src/greeter-list.vala6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/greeter-list.vala b/src/greeter-list.vala
index b1853cf..102c153 100644
--- a/src/greeter-list.vala
+++ b/src/greeter-list.vala
@@ -2,6 +2,7 @@
*
* Copyright (C) 2012 Canonical Ltd
* Copyright (C) 2015-2017 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+ * Copyright (C) 2023 Robert Tari
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
@@ -19,6 +20,7 @@
* Michael Terry <michael.terry@canonical.com>
* Scott Sweeny <scott.sweeny@canonical.com>
* Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+ * Robert Tari <robert@tari.in>
*/
private const int MAX_FIELD_SIZE = 200;
@@ -41,11 +43,11 @@ public class ListDBusInterface : Object
});
}
- public string get_active_entry ()
+ public string get_active_entry () throws GLib.DBusError, GLib.IOError
{
return list.get_active_entry ();
}
- public void set_active_entry (string entry_name)
+ public void set_active_entry (string entry_name) throws GLib.DBusError, GLib.IOError
{
list.set_active_entry (entry_name);
}