Re: API update proposal: cancellation notification



On Mon, 2011-01-24 at 15:13 +0000, Iago Toral wrote:
>  Personally, I found it semantically incorrect to use an error 
>  notification for a cancelled operation when cancellation is not the 
>  consequence of an error. Still, if some other projects are using
> this 
>  convention I guess that's something I can live with.
> 


While I don't like much neither it, I think that from GIO pov, the error
comes because the operation couldn't be done: if operation can't be
done, then it's an error, no matter the reason (in this case, reason is
that it was cancelled).

Note that also, in case of going with (d) actually we are going with (c)
+ (d): cancelled operations emit a "cancelled" signal when they are
cancelled.

	J.A.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]