[gnome-usage] DBus method FindUserById throws GLib.Error instead of GLib.IOError



commit 6594565707b802e5956c4425158c60279e2d5dea
Author: Petr Štětka <pstetka redhat com>
Date:   Wed Dec 19 14:09:53 2018 +0100

    DBus method FindUserById throws GLib.Error instead of GLib.IOError

 src/utils.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/utils.vala b/src/utils.vala
index 21c0f83..7a40df0 100644
--- a/src/utils.vala
+++ b/src/utils.vala
@@ -88,7 +88,7 @@ namespace Usage
 
     [DBus (name = "org.freedesktop.Accounts")]
     public interface Fdo.Accounts : Object {
-        public abstract async string FindUserById (int64 id) throws IOError;
+        public abstract async string FindUserById (int64 id) throws GLib.Error;
     }
 
     [DBus (name = "org.freedesktop.Accounts.User")]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]