Function

Giosimple_async_report_error_in_idle

Declaration [src]

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

Description [src]

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

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.

user_data gpointer
 

User data passed to callback.

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 string is a NUL terminated UTF-8 string.
...
 

A list of variables to fill in format.