Method
PhoshDBusSessionManagercomplete_register_client
Declaration [src]
void
phosh_dbus_session_manager_complete_register_client (
PhoshDBusSessionManager* object,
GDBusMethodInvocation* invocation,
const gchar* client_id
)
Description [src]
Helper function used in service implementations to finish handling invocations of the RegisterClient() 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 |
GDBusMethodInvocation |
A |
|
The instance takes ownership of the data, and is responsible for freeing it. | |
client_id |
const gchar* |
Parameter to return. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. |