Function
Giosimple_async_report_error_in_idle
deprecated: 2.46
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().
This function is not directly available to language bindings.
Parameters
object
-
Type:
GObject
A
GObject
, orNULL
.The argument can be NULL
.The data is owned by the caller of the function. callback
-
Type:
GAsyncReadyCallback
A
GAsyncReadyCallback
.The argument can be NULL
. user_data
-
Type:
gpointer
User data passed to
callback
.The argument can be NULL
.The data is owned by the caller of the function. domain
-
Type:
GQuark
A
GQuark
containing the error domain (usuallyG_IO_ERROR
). code
-
Type:
gint
A specific error code.
format
-
Type:
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. ...
-
Type:
A list of variables to fill in
format
.