Method
GioDBusMethodInvocationreturn_error_valist
since: 2.26
Declaration [src]
void
g_dbus_method_invocation_return_error_valist (
GDBusMethodInvocation* invocation,
GQuark domain,
gint code,
const gchar* format,
va_list var_args
)
Description [src]
Like g_dbus_method_invocation_return_error() but intended for
language bindings.
This method will take ownership of invocation. See
GDBusInterfaceVTable for more information about the ownership of
invocation.
Available since: 2.26
This method is not directly available to language bindings.
Parameters
invocation-
Type:
GDBusMethodInvocationA
GDBusMethodInvocation.The instance takes ownership of the data, and is responsible for freeing it. domain-
Type:
GQuarkA
GQuarkfor theGErrorerror domain. code-
Type:
gintThe error code.
format-
Type:
const gchar*Printf()-style format.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. var_args-
Type:
va_listva_list of parameters for
format.