aboutsummaryrefslogtreecommitdiff
path: root/src/remote-logon-service.vala
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2023-05-05 03:41:42 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-05-07 20:52:12 +0200
commit1c150a74abe1fa91d353903e5122ec6895bf23fd (patch)
tree0363946108e15bb94e3d6126c12565094e3508d0 /src/remote-logon-service.vala
parent3c44cdf781d4fcb55b4e0c95043f172f218baaa7 (diff)
downloadarctica-greeter-1c150a74abe1fa91d353903e5122ec6895bf23fd.tar.gz
arctica-greeter-1c150a74abe1fa91d353903e5122ec6895bf23fd.tar.bz2
arctica-greeter-1c150a74abe1fa91d353903e5122ec6895bf23fd.zip
Fix error handlers for D-Bus methods
Diffstat (limited to 'src/remote-logon-service.vala')
-rw-r--r--src/remote-logon-service.vala9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/remote-logon-service.vala b/src/remote-logon-service.vala
index f0bfa7d..94bf5b9 100644
--- a/src/remote-logon-service.vala
+++ b/src/remote-logon-service.vala
@@ -2,6 +2,7 @@
*
* Copyright (C) 2012 Canonical Ltd
* Copyright (C) 2015-2016 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+ * Copyright (C) 2023 Robert Tari <robert@tari.in>
*
* 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
@@ -44,10 +45,10 @@ protected struct RemoteServer
[DBus (name = "org.ArcticaProject.RemoteLogon")]
interface RemoteLogonService : Object
{
- public abstract async void get_servers (out RemoteServer[] serverList) throws IOError;
- public abstract async void get_servers_for_login (string url, string emailAddress, string password, bool allowCache, out bool loginSuccess, out string dataType, out RemoteServer[] serverList) throws IOError;
- public abstract async void get_cached_domains_for_server (string url, out string[] domains) throws IOError;
- public abstract async void set_last_used_server (string uccsUrl, string serverUrl) throws IOError;
+ public abstract async void get_servers (out RemoteServer[] serverList) throws GLib.DBusError, GLib.IOError;
+ public abstract async void get_servers_for_login (string url, string emailAddress, string password, bool allowCache, out bool loginSuccess, out string dataType, out RemoteServer[] serverList) throws GLib.DBusError, GLib.IOError;
+ public abstract async void get_cached_domains_for_server (string url, out string[] domains) throws GLib.DBusError, GLib.IOError;
+ public abstract async void set_last_used_server (string uccsUrl, string serverUrl) throws GLib.DBusError, GLib.IOError;
public signal void servers_updated (RemoteServer[] serverList);
public signal void login_servers_updated (string url, string emailAddress, string dataType, RemoteServer[] serverList);