[gnome-boxes] util: Make DBus FindUserByName method throw GLib.Error
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] util: Make DBus FindUserByName method throw GLib.Error
- Date: Wed, 15 Dec 2021 10:14:25 +0000 (UTC)
commit c7174f484a8fc82f439e2926757a43c32ce2201e
Author: Felipe Borges <felipeborges gnome org>
Date: Tue Dec 14 16:18:33 2021 +0100
util: Make DBus FindUserByName method throw GLib.Error
Apparently "IOError" wasn't getting picked up.
src/util.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/util.vala b/src/util.vala
index 0f88bc91..49016ac8 100644
--- a/src/util.vala
+++ b/src/util.vala
@@ -436,7 +436,7 @@ public static string canonicalize_for_search (string str) {
[DBus (name = "org.freedesktop.Accounts")]
public interface Fdo.Accounts : Object {
- public abstract async string FindUserByName(string name) throws IOError;
+ public abstract async string FindUserByName(string name) throws GLib.Error;
}
private async Fdo.Accounts? get_accountsservice_accounts_manager () throws GLib.Error {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]