newFromError

fun newFromError(sourceObject: <Error class: unknown class>? = null, callback: AsyncReadyCallback?, error: <Error class: unknown class>): SimpleAsyncResult

Creates a #GSimpleAsyncResult from an error condition.

Return

a #GSimpleAsyncResult.

Parameters

sourceObject

a #GObject, or null.

callback

a #GAsyncReadyCallback.

error

a #GError