SimpleAsyncResult.simpleAsyncReportTakeGerrorInIdle

Reports an error in an idle function. Similar to g_simple_async_report_gerror_in_idle(), but takes over the caller's ownership of @error, so the caller does not have to free it any more.

More...
class SimpleAsyncResult
static
void
simpleAsyncReportTakeGerrorInIdle

Parameters

object ObjectG

a #GObject, or %NULL

callback GAsyncReadyCallback

a #GAsyncReadyCallback.

userData void*

user data passed to @callback.

error ErrorG

the #GError to report

Detailed Description

Deprecated: Use g_task_report_error().

Meta

Since

2.28