SimpleAsyncResult.this

Creates a #GSimpleAsyncResult from an error condition.

More...

Parameters

sourceObject ObjectG

a #GObject, or %NULL.

callback GAsyncReadyCallback

a #GAsyncReadyCallback.

userData void*

user data passed to @callback.

error ErrorG

a #GError

Return: a #GSimpleAsyncResult.

Detailed Description

Deprecated: Use g_task_new() and g_task_return_error() instead.

Throws

ConstructionException GTK+ fails to create the object.

Meta