aboutsummaryrefslogtreecommitdiffstats
path: root/fsodatad/src
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2010-10-26 20:43:15 +0200
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2010-12-20 21:13:56 +0100
commit3dd101ae570f5418d8ef83cdaf93b99a51f7f34b (patch)
tree105ff415b63d2b4a3bb0fe265e38978be54a7e17 /fsodatad/src
parent113bc314b83038c55fe40f09cd078944bac22e60 (diff)
downloadcornucopia-3dd101ae570f5418d8ef83cdaf93b99a51f7f34b.tar.gz
cornucopia-3dd101ae570f5418d8ef83cdaf93b99a51f7f34b.tar.bz2
cornucopia-3dd101ae570f5418d8ef83cdaf93b99a51f7f34b.zip
fsodatad: sync gdbus error definitions w/ interfaces
Diffstat (limited to 'fsodatad/src')
-rw-r--r--fsodatad/src/plugins/world/plugin.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/fsodatad/src/plugins/world/plugin.vala b/fsodatad/src/plugins/world/plugin.vala
index f293a520..16d1adfe 100644
--- a/fsodatad/src/plugins/world/plugin.vala
+++ b/fsodatad/src/plugins/world/plugin.vala
@@ -42,7 +42,7 @@ class World.Info : FreeSmartphone.Data.World, FsoFramework.AbstractObject
//
// DBus API (org.freesmartphone.Data.World)
//
- public async FreeSmartphone.Data.WorldCountry[] get_all_countries() throws IOError
+ public async FreeSmartphone.Data.WorldCountry[] get_all_countries() throws DBusError, IOError
{
var countries = new FreeSmartphone.Data.WorldCountry[] {};
@@ -57,7 +57,7 @@ class World.Info : FreeSmartphone.Data.World, FsoFramework.AbstractObject
return countries;
}
- public async string get_country_code_for_mcc_mnc( string mcc_mnc ) throws FreeSmartphone.Error, IOError
+ public async string get_country_code_for_mcc_mnc( string mcc_mnc ) throws FreeSmartphone.Error, DBusError, IOError
{
foreach ( var country in FsoData.MBPI.Database.instance().allCountries().values )
{
@@ -90,7 +90,7 @@ class World.Info : FreeSmartphone.Data.World, FsoFramework.AbstractObject
return "";
}
- public async GLib.HashTable<string,string> get_timezones_for_country_code( string country_code ) throws FreeSmartphone.Error, IOError
+ public async GLib.HashTable<string,string> get_timezones_for_country_code( string country_code ) throws FreeSmartphone.Error, DBusError, IOError
{
var country = FsoData.MBPI.Database.instance().allCountries()[country_code];
if ( country == null )