Method

PhoshDBusLoginManagercomplete_inhibit

Declaration [src]

void
phosh_dbus_login_manager_complete_inhibit (
  PhoshDBusLoginManager* object,
  GDBusMethodInvocation* invocation,
  GUnixFDList* fd_list,
  GVariant* pipe_fd
)

Description [src]

Helper function used in service implementations to finish handling invocations of the Inhibit() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

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

Parameters

invocation

Type: GDBusMethodInvocation

A GDBusMethodInvocation.

The instance takes ownership of the data, and is responsible for freeing it.
fd_list

Type: GUnixFDList

A GUnixFDList or NULL.

The argument can be NULL.
The data is owned by the caller of the method.
pipe_fd

Type: GVariant

Parameter to return.

The data is owned by the caller of the method.