Sets @task's result to @result (by copying it) and completes the task.
If @result is %NULL then a #GValue of type #G_TYPE_POINTER
with a value of %NULL will be used for the result.
This is a very generic low-level method intended primarily for use
by language bindings; for C code, g_task_return_pointer() and the
like will normally be much easier to use.
Sets @task's result to @result (by copying it) and completes the task.
If @result is %NULL then a #GValue of type #G_TYPE_POINTER with a value of %NULL will be used for the result.
This is a very generic low-level method intended primarily for use by language bindings; for C code, g_task_return_pointer() and the like will normally be much easier to use.