summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2018-02-13 15:42:29 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2018-02-13 15:42:29 +0100
commit91533b997754bd6ec3f4f53d5426cf5d39c5d96b (patch)
tree2bf74a3933b831afd97c77312cdeee275628e30f
parent1bcc8585275b4a8a9d47652cfe2ee4d64d155c1f (diff)
downloadzeitgeist-91533b997754bd6ec3f4f53d5426cf5d39c5d96b.tar.gz
Fix warning while dbus methods are not throwing the required set of errors
-rw-r--r--libzeitgeist/remote.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/libzeitgeist/remote.vala b/libzeitgeist/remote.vala
index fe253e29..0035e154 100644
--- a/libzeitgeist/remote.vala
+++ b/libzeitgeist/remote.vala
@@ -129,7 +129,7 @@ namespace Zeitgeist
public async abstract void notify_delete (
[DBus (signature = "(xx)")] Variant time_range,
uint32[] event_ids
- ) throws IOError;
+ ) throws Error;
}
@@ -159,7 +159,7 @@ namespace Zeitgeist
protected interface NetworkManagerDBus : Object
{
[DBus (name = "state")]
- public abstract uint32 state () throws IOError;
+ public abstract uint32 state () throws Error;
public signal void state_changed (uint32 state);
}
@@ -168,7 +168,7 @@ namespace Zeitgeist
[DBus (name = "net.connman.Manager")]
protected interface ConnmanManagerDBus : Object
{
- public abstract string get_state () throws IOError;
+ public abstract string get_state () throws Error;
public signal void state_changed (string state);
}