Method

GioCancellableset_error_if_cancelled

Declaration

gboolean
g_cancellable_set_error_if_cancelled (
  GCancellable* cancellable
  GError** error
)

Description

If the cancellable is cancelled, sets the error to notify that the operation was cancelled.

Return value

Returns: gboolean
 

TRUE if cancellable was cancelled, FALSE if it was not.