mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-01-04 15:20:11 +01:00
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:
parent
3769776e12
commit
db3575a6ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue