Gets the #GMainContext that @task will return its result in (that
is, the context that was the
[thread-default main context][g-main-context-push-thread-default]
at the point when @task was created).
This will always return a non-%NULL value, even if the task's
context is the default #GMainContext.
Gets the #GMainContext that @task will return its result in (that is, the context that was the [thread-default main context][g-main-context-push-thread-default] at the point when @task was created).
This will always return a non-%NULL value, even if the task's context is the default #GMainContext.
Return: @task's #GMainContext