From db3575a6baf2048bb8b50b96ad5e0650aa00f352 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 23 Oct 2019 16:43:43 +0200 Subject: [PATCH] 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. --- libupower-glib/up-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libupower-glib/up-client.c b/libupower-glib/up-client.c index f54c6b5..2504509 100644 --- a/libupower-glib/up-client.c +++ b/libupower-glib/up-client.c @@ -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()