summaryrefslogtreecommitdiffstats
path: root/src/config/config.vala
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2018-06-28 01:03:02 +0200
committerSebastian Reichel <sre@ring0.de>2018-06-28 01:53:40 +0200
commitf466538a3527cd539c732d3abee481fa7a34fc2f (patch)
tree0a244c5b3594ee42d25744bdbdd3f0a44595c87b /src/config/config.vala
parentc70d626e473c8cbdbd87125a256ca221c0c3fa23 (diff)
downloadserial-barcode-scanner-f466538a3527cd539c732d3abee481fa7a34fc2f.tar.bz2
all: Add DBusError to avoid warnings with valac 0.40
Diffstat (limited to 'src/config/config.vala')
-rw-r--r--src/config/config.vala16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/config/config.vala b/src/config/config.vala
index 60fd835..b25b667 100644
--- a/src/config/config.vala
+++ b/src/config/config.vala
@@ -27,35 +27,35 @@ public class Cfg {
}
}
- public bool has_group(string group_name) throws KeyFileError {
+ public bool has_group(string group_name) throws DBusError, IOError, KeyFileError {
return file.has_group(group_name);
}
- public bool has_key(string group_name, string key) throws KeyFileError {
+ public bool has_key(string group_name, string key) throws DBusError, IOError, KeyFileError {
return file.has_key(group_name, key);
}
- public string get_string(string group_name, string key) throws KeyFileError {
+ public string get_string(string group_name, string key) throws DBusError, IOError, KeyFileError {
return file.get_string(group_name, key);
}
- public bool get_boolean(string group_name, string key) throws KeyFileError {
+ public bool get_boolean(string group_name, string key) throws DBusError, IOError, KeyFileError {
return file.get_boolean(group_name, key);
}
- public int get_integer(string group_name, string key) throws KeyFileError {
+ public int get_integer(string group_name, string key) throws DBusError, IOError, KeyFileError {
return file.get_integer(group_name, key);
}
- public int64 get_int64(string group_name, string key) throws KeyFileError {
+ public int64 get_int64(string group_name, string key) throws DBusError, IOError, KeyFileError {
return file.get_int64(group_name, key);
}
- public uint64 get_uint64(string group_name, string key) throws KeyFileError {
+ public uint64 get_uint64(string group_name, string key) throws DBusError, IOError, KeyFileError {
return file.get_uint64(group_name, key);
}
- public double get_double(string group_name, string key) throws KeyFileError {
+ public double get_double(string group_name, string key) throws DBusError, IOError, KeyFileError {
return file.get_double(group_name, key);
}