GTask: fix example code in docs

https://bugzilla.gnome.org/show_bug.cgi?id=758181
This commit is contained in:
Ben Iofel 2015-11-16 10:05:16 -05:00 committed by Dan Winship
parent 448e01353a
commit 7ab79b3879

View File

@ -194,7 +194,7 @@
* *
* // baking_data_free() will drop its ref on the cake, so we have to * // baking_data_free() will drop its ref on the cake, so we have to
* // take another here to give to the caller. * // 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); * g_object_unref (task);
* } * }
* *