diff options
author | Sebastian Reichel <sre@ring0.de> | 2018-06-28 01:03:02 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2018-06-28 01:53:40 +0200 |
commit | f466538a3527cd539c732d3abee481fa7a34fc2f (patch) | |
tree | 0a244c5b3594ee42d25744bdbdd3f0a44595c87b /src/pgp/pgp.vala | |
parent | c70d626e473c8cbdbd87125a256ca221c0c3fa23 (diff) | |
download | serial-barcode-scanner-f466538a3527cd539c732d3abee481fa7a34fc2f.tar.bz2 |
all: Add DBusError to avoid warnings with valac 0.40
Diffstat (limited to 'src/pgp/pgp.vala')
-rw-r--r-- | src/pgp/pgp.vala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pgp/pgp.vala b/src/pgp/pgp.vala index bb48c61..560b00f 100644 --- a/src/pgp/pgp.vala +++ b/src/pgp/pgp.vala @@ -42,7 +42,7 @@ public class PGPKeyArchive { gpg.set_armor(true); } - public string[] import_archive(uint8[] data) { + public string[] import_archive(uint8[] data) throws DBusError, IOError { string[] result = {}; unowned Archive.Entry entry; var archive = new Archive.Read(); @@ -93,7 +93,7 @@ public class PGPKeyArchive { return result; } - public string[] list_keys() { + public string[] list_keys() throws DBusError, IOError { string[] result = {}; GPG.Key key; @@ -108,7 +108,7 @@ public class PGPKeyArchive { return result; } - public string get_key(string fingerprint) { + public string get_key(string fingerprint) throws DBusError, IOError { GPG.Data keydata; GPG.Data.create(out keydata); |