Method
PhoshDBusSessionManagercomplete_can_shutdown
Declaration [src]
void
phosh_dbus_session_manager_complete_can_shutdown (
PhoshDBusSessionManager* object,
GDBusMethodInvocation* invocation,
gboolean unnamed_arg0
)
Description [src]
Helper function used in service implementations to finish handling invocations of the CanShutdown() 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:
GDBusMethodInvocationA
GDBusMethodInvocation.The instance takes ownership of the data, and is responsible for freeing it. unnamed_arg0-
Type:
gbooleanParameter to return.