diff options
author | Robert Tari <robert@tari.in> | 2023-05-05 03:41:42 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-05-07 20:52:12 +0200 |
commit | 1c150a74abe1fa91d353903e5122ec6895bf23fd (patch) | |
tree | 0363946108e15bb94e3d6126c12565094e3508d0 /src/greeter-list.vala | |
parent | 3c44cdf781d4fcb55b4e0c95043f172f218baaa7 (diff) | |
download | arctica-greeter-1c150a74abe1fa91d353903e5122ec6895bf23fd.tar.gz arctica-greeter-1c150a74abe1fa91d353903e5122ec6895bf23fd.tar.bz2 arctica-greeter-1c150a74abe1fa91d353903e5122ec6895bf23fd.zip |
Fix error handlers for D-Bus methods
Diffstat (limited to 'src/greeter-list.vala')
-rw-r--r-- | src/greeter-list.vala | 6 |
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); } |