GLib.Cancellable.set_error_if_cancelled is confusing
@mcatanzaro
Submitted by Michael Catanzaro Link to original bug (#746408)
Description
GLib.Cancellable.set_error_if_cancelled is a bit confusing. What I gather this function does in Vala is throw IOError.Cancelled if the Cancellable has been canceled. A better name for Vala would be Cancellable.throw_error_if_cancelled.
Version: 0.27.x