mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-06-03 19:30:07 +02:00
Clarify g_cancellable_push_current docs wrt cancellable being NULL (#575013)
This commit is contained in:
parent
ab29e09dac
commit
5a46e4d140
@ -249,7 +249,7 @@ g_cancellable_new (void)
|
||||
|
||||
/**
|
||||
* g_cancellable_push_current:
|
||||
* @cancellable: optional #GCancellable object, %NULL to ignore.
|
||||
* @cancellable: a #GCancellable object
|
||||
*
|
||||
* Pushes @cancellable onto the cancellable stack. The current
|
||||
* cancllable can then be recieved using g_cancellable_get_current().
|
||||
@ -274,7 +274,7 @@ g_cancellable_push_current (GCancellable *cancellable)
|
||||
|
||||
/**
|
||||
* g_cancellable_pop_current:
|
||||
* @cancellable: optional #GCancellable object, %NULL to ignore.
|
||||
* @cancellable: a #GCancellable object
|
||||
*
|
||||
* Pops @cancellable off the cancellable stack (verifying that @cancellable
|
||||
* is on the top of the stack).
|
||||
|
Loading…
x
Reference in New Issue
Block a user