Method

GioSimpleAsyncResultset_error_va

deprecated: 2.46 

Declaration [src]

void
g_simple_async_result_set_error_va (
  GSimpleAsyncResult* simple,
  GQuark domain,
  gint code,
  const char* format,
  va_list args
)

Description [src]

Sets an error within the asynchronous result without a GError. Unless writing a binding, see g_simple_async_result_set_error().

Deprecated since: 2.46

Use GTask and g_task_return_error() instead.

This method is not directly available to language bindings.

Parameters

domain

Type: GQuark

A GQuark (usually G_IO_ERROR).

code

Type: gint

An error code.

format

Type: const char*

A formatted error reporting string.

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

Type: va_list

Va_list of arguments.