DBusMethodInvocation.takeError

Like g_dbus_method_invocation_return_gerror() but takes ownership of @error so the caller does not need to free it.

This method will take ownership of @invocation. See #GDBusInterfaceVTable for more information about the ownership of @invocation.

class DBusMethodInvocation
void
takeError

Parameters

error ErrorG

A #GError.

Meta

Since

2.30