Used from an I/O job to send a callback to be run in the thread that the job was started from, waiting for the result (and thus blocking the I/O job).
a GSourceFunc callback that will be called in the original thread
data to pass to func
a GDestroyNotify for user_data, or NULL
The return value of func
Deprecated: Use MainContext.invoke.
Used from an I/O job to send a callback to be run in the thread that the job was started from, waiting for the result (and thus blocking the I/O job).