API Version: 2.0
Library Version: 2.76
Generated by gi-docgen 2023.4
since: 2.36
gboolean g_task_return_error_if_cancelled ( GTask* task )
Checks if task‘s GCancellable has been cancelled, and if so, sets task‘s error accordingly and completes the task (see g_task_return_pointer() for more discussion of exactly what this means).
task
GCancellable
g_task_return_pointer()
Available since: 2.36
Type: gboolean
gboolean
TRUE if task has been cancelled, FALSE if not.
TRUE
FALSE