A utility function for dealing with async operations where you need
to wait for a GSource to trigger. Attaches source to task's
GMainContext with task's priority, and sets source's callback
to callback, with task as the callback's
user_data.
This takes a reference on task until source is destroyed.
Since 2.36
A utility function for dealing with async operations where you need to wait for a GSource to trigger. Attaches source to task's GMainContext with task's priority, and sets source's callback to callback, with task as the callback's user_data. This takes a reference on task until source is destroyed. Since 2.36