[glib] GTask: fix example code in docs
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] GTask: fix example code in docs
- Date: Mon, 16 Nov 2015 17:33:10 +0000 (UTC)
commit 7ab79b3879fa8b336ba3047f2399f26e1601f68e
Author: Ben Iofel <iofelben gmail com>
Date: Mon Nov 16 10:05:16 2015 -0500
GTask: fix example code in docs
https://bugzilla.gnome.org/show_bug.cgi?id=758181
gio/gtask.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gtask.c b/gio/gtask.c
index 4219be0..0318d97 100644
--- a/gio/gtask.c
+++ b/gio/gtask.c
@@ -194,7 +194,7 @@
*
* // baking_data_free() will drop its ref on the cake, so we have to
* // take another here to give to the caller.
- * g_task_return_pointer (result, g_object_ref (cake), g_object_unref);
+ * g_task_return_pointer (task, g_object_ref (cake), g_object_unref);
* g_object_unref (task);
* }
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]