libnm: fix type annotation for nm_sriov_vf_get_vlan_ids()

Otherwise, this function cannot really be used via generated bindings.
Also, it's the only way to actually retrieve the set vlan-ids, without
it, you wouldn't know which ones are set.

Fixes: a9b4532fa7 ('libnm-core: add SR-IOV setting')
(cherry picked from commit c4a728217d)
(cherry picked from commit 49376697c6)
(cherry picked from commit 2f62e30b7c)
This commit is contained in:
Thomas Haller 2019-12-20 14:42:03 +01:00
parent fcc81dece3
commit a8746f48ca

View file

@ -559,7 +559,7 @@ vlan_id_compare (gconstpointer a, gconstpointer b, gpointer user_data)
*
* Returns the VLANs currently configured on the VF.
*
* Returns: (transfer none): a list of VLAN ids configured on the VF.
* Returns: (transfer none) (array length=length): a list of VLAN ids configured on the VF.
*
* Since: 1.14
*/