lib: Mark g_object_unref() as a function in doc

up_client_get_devices()'s API doc didn't have the parenthesis for
g_object_unref, so gtk-doc wouldn't link it to the GObject function.
This commit is contained in:
Bastien Nocera 2019-10-23 16:43:43 +02:00
parent 3769776e12
commit db3575a6ba

View file

@ -79,7 +79,7 @@ G_DEFINE_TYPE_WITH_CODE (UpClient, up_client, G_TYPE_OBJECT,
* @client: a #UpClient instance.
*
* Get a copy of the device objects. This function does not set the free
* function for the #GPtrArray so you need use g_object_unref on all
* function for the #GPtrArray so you need use g_object_unref() on all
* elements when you are finished with the array.
*
* Return value: (element-type UpDevice) (transfer full): an array of #UpDevice objects, free with g_ptr_array_unref()