DBusMethodInvocation.returnGerror

Like g_dbus_method_invocation_return_error() but takes a #GError instead of the error domain, error code and message.

This method will free @invocation, you cannot use it afterwards.

class DBusMethodInvocation
void
returnGerror

Parameters

error ErrorG

A #GError.

Meta

Since

2.26