diff options
-rw-r--r-- | src/accounts-service-access.vala | 2 | ||||
-rw-r--r-- | src/freedesktop-interfaces.vala | 4 | ||||
-rw-r--r-- | src/greeter-broadcast.vala | 6 | ||||
-rw-r--r-- | src/media-player-list-greeter.vala | 2 | ||||
-rw-r--r-- | src/mpris2-interfaces.vala | 16 |
5 files changed, 15 insertions, 15 deletions
diff --git a/src/accounts-service-access.vala b/src/accounts-service-access.vala index 582ea9e..68616d2 100644 --- a/src/accounts-service-access.vala +++ b/src/accounts-service-access.vala @@ -25,7 +25,7 @@ using Gee; [DBus (name="org.ayatana.Greeter.List")] interface GreeterListInterfaceAccess : Object { - public abstract async string get_active_entry () throws IOError; + public abstract async string get_active_entry () throws GLib.DBusError, GLib.IOError; public signal void entry_selected (string entry_name); } diff --git a/src/freedesktop-interfaces.vala b/src/freedesktop-interfaces.vala index 2da88e5..f62fae4 100644 --- a/src/freedesktop-interfaces.vala +++ b/src/freedesktop-interfaces.vala @@ -19,7 +19,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>. [DBus (name = "org.freedesktop.DBus")] public interface FreeDesktopObject: Object { - public abstract async string[] list_names() throws IOError; + public abstract async string[] list_names() throws GLib.DBusError, GLib.IOError; public abstract signal void name_owner_changed ( string name, string old_owner, string new_owner ); @@ -27,7 +27,7 @@ public interface FreeDesktopObject: Object { [DBus (name = "org.freedesktop.DBus.Introspectable")] public interface FreeDesktopIntrospectable: Object { - public abstract string Introspect() throws IOError; + public abstract string Introspect() throws GLib.DBusError, GLib.IOError; } [DBus (name = "org.freedesktop.DBus.Properties")] diff --git a/src/greeter-broadcast.vala b/src/greeter-broadcast.vala index 41caed8..d2e7c0a 100644 --- a/src/greeter-broadcast.vala +++ b/src/greeter-broadcast.vala @@ -22,9 +22,9 @@ public interface GreeterBroadcast : Object { // methods // unused public abstract async void RequestApplicationStart(string name, string appid) throws IOError; // unused public abstract async void RequestHomeShown(string name) throws IOError; - public abstract async void RequestSoundPlayPause(string name) throws IOError; - public abstract async void RequestSoundNext(string name) throws IOError; - public abstract async void RequestSoundPrev(string name) throws IOError; + public abstract async void RequestSoundPlayPause(string name) throws GLib.DBusError, GLib.IOError; + public abstract async void RequestSoundNext(string name) throws GLib.DBusError, GLib.IOError; + public abstract async void RequestSoundPrev(string name) throws GLib.DBusError, GLib.IOError; // signals // unused public signal void StartApplication(string username, string appid); // unused public signal void ShowHome(string username); diff --git a/src/media-player-list-greeter.vala b/src/media-player-list-greeter.vala index a6cb4ce..fb57597 100644 --- a/src/media-player-list-greeter.vala +++ b/src/media-player-list-greeter.vala @@ -19,7 +19,7 @@ [DBus (name="org.ayatana.Greeter.List")] public interface AyatanaGreeterList : Object { - public abstract async string get_active_entry () throws IOError; + public abstract async string get_active_entry () throws GLib.DBusError, GLib.IOError; public signal void entry_selected (string entry_name); } diff --git a/src/mpris2-interfaces.vala b/src/mpris2-interfaces.vala index 250f0c5..6534741 100644 --- a/src/mpris2-interfaces.vala +++ b/src/mpris2-interfaces.vala @@ -28,8 +28,8 @@ public interface MprisRoot : Object { public abstract string Identity{owned get; set;} public abstract string DesktopEntry{owned get; set;} // methods - public abstract async void Quit() throws IOError; - public abstract async void Raise() throws IOError; + public abstract async void Quit() throws GLib.DBusError, GLib.IOError; + public abstract async void Raise() throws GLib.DBusError, GLib.IOError; } [DBus (name = "org.mpris.MediaPlayer2.Player")] @@ -42,10 +42,10 @@ public interface MprisPlayer : Object { public abstract bool CanGoNext{owned get; set;} public abstract bool CanGoPrevious{owned get; set;} // methods - public abstract async void PlayPause() throws IOError; - public abstract async void Next() throws IOError; - public abstract async void Previous() throws IOError; - public abstract async void Seek(int64 offset) throws IOError; + public abstract async void PlayPause() throws GLib.DBusError, GLib.IOError; + public abstract async void Next() throws GLib.DBusError, GLib.IOError; + public abstract async void Previous() throws GLib.DBusError, GLib.IOError; + public abstract async void Seek(int64 offset) throws GLib.DBusError, GLib.IOError; // signals public signal void Seeked(int64 new_position); } @@ -71,11 +71,11 @@ public interface MprisPlaylists : Object { public abstract ActivePlaylistContainer? ActivePlaylist {owned get; set;} //methods - public abstract async void ActivatePlaylist(ObjectPath playlist_id) throws IOError; + public abstract async void ActivatePlaylist(ObjectPath playlist_id) throws GLib.DBusError, GLib.IOError; public abstract async PlaylistDetails[]? GetPlaylists ( uint32 index, uint32 max_count, string order, - bool reverse_order ) throws IOError; + bool reverse_order ) throws GLib.DBusError, GLib.IOError; //signals public signal void PlaylistChanged (PlaylistDetails details); |