Fix documentation typos in GTask and GCancellable examples

https://bugzilla.gnome.org/show_bug.cgi?id=719884
This commit is contained in:
Daiki Ueno
2013-12-05 18:16:36 +09:00
parent 8f4dc7012e
commit 7e9e7a66a1
2 changed files with 2 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ g_cancellable_class_init (GCancellableClass *klass)
* An example of how to us this:
* |[
* /<!-- -->* Make sure we don't do any unnecessary work if already cancelled *<!-- -->/
* if (g_cancellable_set_error_if_cancelled (cancellable))
* if (g_cancellable_set_error_if_cancelled (cancellable, error))
* return;
*
* /<!-- -->* Set up all the data needed to be able to