Clarify g_cancellable_push_current docs wrt cancellable being NULL (#575013)

This commit is contained in:
Alexander Larsson 2009-05-20 14:55:14 +02:00
parent ab29e09dac
commit 5a46e4d140

View File

@ -249,7 +249,7 @@ g_cancellable_new (void)
/** /**
* g_cancellable_push_current: * g_cancellable_push_current:
* @cancellable: optional #GCancellable object, %NULL to ignore. * @cancellable: a #GCancellable object
* *
* Pushes @cancellable onto the cancellable stack. The current * Pushes @cancellable onto the cancellable stack. The current
* cancllable can then be recieved using g_cancellable_get_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: * g_cancellable_pop_current:
* @cancellable: optional #GCancellable object, %NULL to ignore. * @cancellable: a #GCancellable object
* *
* Pops @cancellable off the cancellable stack (verifying that @cancellable * Pops @cancellable off the cancellable stack (verifying that @cancellable
* is on the top of the stack). * is on the top of the stack).