summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgnacio Casal Quinteiro <nacho.resa@gmail.com>2015-08-03 08:19:55 +0200
committerIgnacio Casal Quinteiro <nacho.resa@gmail.com>2015-08-03 08:19:55 +0200
commit83a6b1a20653c1a17f0a909f08652b5e1df44075 (patch)
treeae580489148f3ff06351b1f1c0306658ebe6782c
parent672373f9b9957e99421286dd1354a4c2a2e68383 (diff)
parentcbb9033e9f51072fc7a83b41758ab56f3376a5c1 (diff)
downloadgusb-83a6b1a20653c1a17f0a909f08652b5e1df44075.tar.gz
Merge pull request #3 from robert-ancell/master
Add missing element-type annotations.
-rw-r--r--gusb/gusb-context.c2
-rw-r--r--gusb/gusb-device-list.c2
-rw-r--r--gusb/gusb-device.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/gusb/gusb-context.c b/gusb/gusb-context.c
index 5c7dfe2..33b0ecb 100644
--- a/gusb/gusb-context.c
+++ b/gusb/gusb-context.c
@@ -918,7 +918,7 @@ _g_usb_context_lookup_product (GUsbContext *context,
* g_usb_context_get_devices:
* @context: a #GUsbContext
*
- * Return value: (transfer full): a new #GPtrArray of #GUsbDevice's.
+ * Return value: (transfer full) (element-type GUsbDevice): a new #GPtrArray of #GUsbDevice's.
*
* Since: 0.2.2
**/
diff --git a/gusb/gusb-device-list.c b/gusb/gusb-device-list.c
index b482523..3a27ee4 100644
--- a/gusb/gusb-device-list.c
+++ b/gusb/gusb-device-list.c
@@ -181,7 +181,7 @@ g_usb_device_list_init (GUsbDeviceList *list)
* g_usb_device_list_get_devices:
* @list: a #GUsbDeviceList
*
- * Return value: (transfer full): a new #GPtrArray of #GUsbDevice's.
+ * Return value: (transfer full) (element-type GUsbDevice): a new #GPtrArray of #GUsbDevice's.
*
* Since: 0.1.0
**/
diff --git a/gusb/gusb-device.c b/gusb/gusb-device.c
index fcb3cd4..8d3b521 100644
--- a/gusb/gusb-device.c
+++ b/gusb/gusb-device.c
@@ -1433,7 +1433,7 @@ g_usb_device_get_parent (GUsbDevice *device)
*
* Gets the device children if any exist.
*
- * Return value: (transfer full): an array of #GUsbDevice
+ * Return value: (transfer full) (element-type GUsbDevice): an array of #GUsbDevice
*
* Since: 0.2.4
**/