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 free @invocation, you cannot use it afterwards.

class DBusMethodInvocation
void
takeError

Parameters

error ErrorG

A #GError.

Meta

Since

2.30