mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
GTask: fix example code in docs
https://bugzilla.gnome.org/show_bug.cgi?id=758181
This commit is contained in:
parent
448e01353a
commit
7ab79b3879
@ -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);
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user