Skip to content

gtask: Add ability to steal task data

Marco Trevisan requested to merge 3v1n0/glib:gtask-steal-data into main

Sometimes it's useful to add data to the task with a destroy notifier in case the task is destroyed because of errors, but also be able to steal it without having to duplicate its content.

To allow this, provide an API to steal the task data allowing to manage its lifecycle manually in some specific cases.

Merge request reports