Declaration [src]

g_simple_async_report_take_gerror_in_idle (
  GObject* object,
  GAsyncReadyCallback callback,
  gpointer user_data,
  GError* error

Description [src]

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.

Available since:2.28
Deprecated since:2.46

Use g_task_report_error().


object GObject

A GObject, or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.
callback GAsyncReadyCallback

A GAsyncReadyCallback.

user_data gpointer

User data passed to callback.

error GError

The GError to report.

 The data is owned by the caller of the function.