mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-16 04:28:05 +02:00
GCancellable: Small annotation additions
https://bugzilla.gnome.org/show_bug.cgi?id=657243
This commit is contained in:
parent
3cb189c1ce
commit
471593ebf0
@ -286,7 +286,7 @@ g_cancellable_reset (GCancellable *cancellable)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* g_cancellable_is_cancelled:
|
* g_cancellable_is_cancelled:
|
||||||
* @cancellable: a #GCancellable or NULL.
|
* @cancellable: (allow-none): a #GCancellable or %NULL
|
||||||
*
|
*
|
||||||
* Checks if a cancellable job has been cancelled.
|
* Checks if a cancellable job has been cancelled.
|
||||||
*
|
*
|
||||||
@ -301,14 +301,14 @@ g_cancellable_is_cancelled (GCancellable *cancellable)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* g_cancellable_set_error_if_cancelled:
|
* g_cancellable_set_error_if_cancelled:
|
||||||
* @cancellable: a #GCancellable object.
|
* @cancellable: (allow-none): a #GCancellable or %NULL
|
||||||
* @error: #GError to append error state to.
|
* @error: #GError to append error state to
|
||||||
*
|
*
|
||||||
* If the @cancellable is cancelled, sets the error to notify
|
* If the @cancellable is cancelled, sets the error to notify
|
||||||
* that the operation was cancelled.
|
* that the operation was cancelled.
|
||||||
*
|
*
|
||||||
* Returns: %TRUE if @cancellable was cancelled, %FALSE if it was not.
|
* Returns: %TRUE if @cancellable was cancelled, %FALSE if it was not
|
||||||
**/
|
*/
|
||||||
gboolean
|
gboolean
|
||||||
g_cancellable_set_error_if_cancelled (GCancellable *cancellable,
|
g_cancellable_set_error_if_cancelled (GCancellable *cancellable,
|
||||||
GError **error)
|
GError **error)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user