]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: set_error_if_cancelled and condition_wait throw IOError.
authorLuca Bruno <lucabru@src.gnome.org>
Sun, 9 Jan 2011 08:40:16 +0000 (09:40 +0100)
committerLuca Bruno <lucabru@src.gnome.org>
Sun, 9 Jan 2011 08:41:01 +0000 (09:41 +0100)
vapi/gio-2.0.vapi

index 5fda55579e3c0285f0d74e0fb7e3ca9ee368b332..58458c2b510862d4d26bb5178f9042aad3081ee3 100644 (file)
@@ -168,7 +168,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")]
@@ -1267,7 +1267,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)]