summaryrefslogtreecommitdiff
path: root/gio/gcancellable.c
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@unixuser.org>2013-12-05 18:16:36 +0900
committerDaiki Ueno <ueno@unixuser.org>2013-12-06 07:55:27 +0900
commit7e9e7a66a1820478c87d3fadd47869eed88ef6f3 (patch)
tree9c5dfdfbbac33cf079769265033726a619a52898 /gio/gcancellable.c
parent8f4dc7012ef832b038777e88e8e37b051f524194 (diff)
downloadglib-7e9e7a66a1820478c87d3fadd47869eed88ef6f3.tar.gz
Fix documentation typos in GTask and GCancellable examples
https://bugzilla.gnome.org/show_bug.cgi?id=719884
Diffstat (limited to 'gio/gcancellable.c')
-rw-r--r--gio/gcancellable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/gcancellable.c b/gio/gcancellable.c
index 2e3b4a057..8f66e836b 100644
--- a/gio/gcancellable.c
+++ b/gio/gcancellable.c
@@ -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