cancellable
is cancelled, sets the error to notify
that the operation was cancelled.gCancellableSetErrorIfCancelled(object, .errwarn = TRUE)
object
GCancellable
object.TRUE
if cancellable
was cancelled, FALSE
if it was not.error
GError
to append error state to.