g_simple_async_report_error_in_idle (
  GObject* object,
  GAsyncReadyCallback callback,
  gpointer user_data,
  GQuark domain,
  gint code,
  const char* format,


Reports an error in an asynchronous function in an idle function by directly setting the contents of the GAsyncResult with the given error information.

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.

 The argument can be NULL.
user_data gpointer

User data passed to callback.

 The argument can be NULL.
domain GQuark

A GQuark containing the error domain (usually #G_IO_ERROR).

code gint

A specific error code.

format const char*

A formatted error reporting string.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

A list of variables to fill in format.