diff options
author | Luca Bruno <lucabru@src.gnome.org> | 2011-01-09 09:40:16 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2011-01-22 11:01:24 +0100 |
commit | 4ad2940a8c38d0330bd3acf34f13c9de226ffc83 (patch) | |
tree | 829af887cb72f4499be10e34c40889617b4e0a7d | |
parent | ada58e3dd989d6e47c65aaa6ccb904fdf61b08f2 (diff) | |
download | vala-4ad2940a8c38d0330bd3acf34f13c9de226ffc83.tar.gz |
gio-2.0: set_error_if_cancelled and condition_wait throw IOError.
-rw-r--r-- | vapi/gio-2.0.vapi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index 63220346c..b7d67cdea 100644 --- a/vapi/gio-2.0.vapi +++ b/vapi/gio-2.0.vapi @@ -75,7 +75,7 @@ namespace GLib { public void push_current (); public void release_fd (); public void reset (); - public bool set_error_if_cancelled () throws GLib.Error; + public bool set_error_if_cancelled () throws GLib.IOError; public virtual signal void cancelled (); } [CCode (cheader_filename = "gio/gio.h")] @@ -1110,7 +1110,7 @@ namespace GLib { public bool check_connect_result () throws GLib.Error; public bool close () throws GLib.Error; public GLib.IOCondition condition_check (GLib.IOCondition condition); - public bool condition_wait (GLib.IOCondition condition, GLib.Cancellable? cancellable = null) throws GLib.Error; + public bool condition_wait (GLib.IOCondition condition, GLib.Cancellable? cancellable = null) throws GLib.IOError; public bool connect (GLib.SocketAddress address, GLib.Cancellable? cancellable = null) throws GLib.Error; public GLib.SocketSource create_source (GLib.IOCondition condition, GLib.Cancellable? cancellable = null); [CCode (has_construct_function = false)] |