Method
GioDBusMethodInvocationreturn_error_literal
since: 2.26
Declaration [src]
void
g_dbus_method_invocation_return_error_literal (
GDBusMethodInvocation* invocation,
GQuark domain,
gint code,
const gchar* message
)
Description [src]
Like g_dbus_method_invocation_return_error() but without printf()-style formatting.
This method will take ownership of invocation. See
GDBusInterfaceVTable for more information about the ownership of
invocation.
Available since: 2.26
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.
message-
Type:
const gchar*The error message.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.