Function

Giosimple_async_report_take_gerror_in_idle

Declaration

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

Description

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().

This function is not directly available to language bindings

Parameters

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.

 The argument can be NULL.
user_data gpointer
 

User data passed to callback.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError
 

The GError to report.

 The data is owned by the caller of the function.