GNOME Bugzilla – Bug 657243
g_cancellable_set_error_if_cancelled() documentation
Last modified: 2011-08-25 18:24:38 UTC
Might be worth pointing out in GIO's reference manual that passing NULL to g_cancellable_set_error_if_cancelled()'s 'cancellable' argument is valid usage.
The following fix has been pushed: 471593e GCancellable: Small annotation additions
Created attachment 194663 [details] [review] GCancellable: Small annotation additions
Review of attachment 194663 [details] [review]: ::: gio/gcancellable.c @@ +292,3 @@ + * + * Returns: %TRUE if @cancellable is cancelled, + * FALSE if called with %NULL or if item is not cancelled. It'll make the doc parser happier if there's a space on this second line so it's more obvious it's part of Returns:.