mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-31 22:23:39 +02:00
Clarify g_cancellable_push_current docs wrt cancellable being NULL (#575013)
This commit is contained in:
@@ -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).
|
||||
|
Reference in New Issue
Block a user