Method
PhoshDBusDisplayConfigcomplete_get_current_state
Declaration [src]
void
phosh_dbus_display_config_complete_get_current_state (
PhoshDBusDisplayConfig* object,
GDBusMethodInvocation* invocation,
guint serial,
GVariant* monitors,
GVariant* logical_monitors,
GVariant* properties
)
Description [src]
Helper function used in service implementations to finish handling invocations of the GetCurrentState() 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. | |
serial |
guint |
Parameter to return. |
|
monitors |
GVariant |
Parameter to return. |
|
The data is owned by the caller of the function. | |
logical_monitors |
GVariant |
Parameter to return. |
|
The data is owned by the caller of the function. | |
properties |
GVariant |
Parameter to return. |
|
The data is owned by the caller of the function. |