From 7ab79b3879fa8b336ba3047f2399f26e1601f68e Mon Sep 17 00:00:00 2001 From: Ben Iofel Date: Mon, 16 Nov 2015 10:05:16 -0500 Subject: [PATCH] GTask: fix example code in docs https://bugzilla.gnome.org/show_bug.cgi?id=758181 --- gio/gtask.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gtask.c b/gio/gtask.c index 4219be028..0318d9736 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); * } *