From 901593e217c2996e701d06c4f11a06792a39cadf Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Sat, 25 May 2019 23:19:28 +0300 Subject: [PATCH] endpoint: improve GVariant format docs --- lib/wp/endpoint.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/wp/endpoint.c b/lib/wp/endpoint.c index 4c4956c0..5c738984 100644 --- a/lib/wp/endpoint.c +++ b/lib/wp/endpoint.c @@ -81,6 +81,7 @@ * "name": the name of the control * "type": a GVariant type string * "range": a tuple (min, max) + * "default-value": the default value */ #include "endpoint.h" @@ -386,9 +387,8 @@ wp_endpoint_list_controls (WpEndpoint * self) * @self: the endpoint * @control_id: the id of the control to set * - * Returns a dictionary GVariant containing two fields: - * * "id": a uint32 representing the control id - * * "value": a variant containing the value of the control + * Returns a GVariant that holds the value of the control. The type + * should be the same type specified in the control variant's "type" field. * * On error, NULL will be returned. *