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