sendToMainloop
⚠️ Deprecated ⚠️
This is deprecated since version 2.36.
Use g_main_context_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).
Return
The return value of @func
Parameters
func
a #GSourceFunc callback that will be called in the original thread