[GIO] Errors from async stream methods

2008-02-28 Thread Mikkel Kamstrup Erlandsen
Hi all, I am wondering how errors are reported in the g_*put_stream_*_async methods. Inside gio I see that a SimpleAsyncResult is used for this. It has a GError error member, but it is not exposed in any public api as far as I can tell, so apps receiving an AsyncResult have no way to check if

Re: [GIO] Errors from async stream methods

2008-02-28 Thread Jürg Billeter
Hi Mikkel, On Thu, 2008-02-28 at 23:05 +0100, Mikkel Kamstrup Erlandsen wrote: I am wondering how errors are reported in the g_*put_stream_*_async methods. Inside gio I see that a SimpleAsyncResult is used for this. It has a GError error member, but it is not exposed in any public api as

Re: [GIO] Errors from async stream methods

2008-02-28 Thread Mikkel Kamstrup Erlandsen
On 28/02/2008, Jürg Billeter [EMAIL PROTECTED] wrote: Hi Mikkel, On Thu, 2008-02-28 at 23:05 +0100, Mikkel Kamstrup Erlandsen wrote: I am wondering how errors are reported in the g_*put_stream_*_async methods. Inside gio I see that a SimpleAsyncResult is used for this. It has a