[libgovirt] Fix ovirt_xx_get_yy 'transfer' annotations



commit 31be13bc9f64fb2c377f8479c5ca7f4e6410190b
Author: Christophe Fergeau <cfergeau redhat com>
Date:   Thu Apr 17 21:23:32 2014 +0200

    Fix ovirt_xx_get_yy 'transfer' annotations
    
    Several of these functions were documented as 'transfer full' while they
    actually are 'transfer none'. Thanks to Jonathon Jongsma for pointing
    this out.

 govirt/ovirt-api.c            |    6 +++---
 govirt/ovirt-proxy.c          |    2 +-
 govirt/ovirt-storage-domain.c |    2 +-
 govirt/ovirt-vm.c             |    2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/govirt/ovirt-api.c b/govirt/ovirt-api.c
index 4b6d141..0ff10ac 100644
--- a/govirt/ovirt-api.c
+++ b/govirt/ovirt-api.c
@@ -115,7 +115,7 @@ OvirtApi *ovirt_api_new(void)
  * ovirt_api_get_vms:
  * @api: a #OvirtApi
  *
- * Return value: (transfer full):
+ * Return value: (transfer none):
  */
 OvirtCollection *ovirt_api_get_vms(OvirtApi *api)
 {
@@ -139,7 +139,7 @@ OvirtCollection *ovirt_api_get_vms(OvirtApi *api)
  * ovirt_api_get_vm_pools:
  * @api: a #OvirtApi
  *
- * Return value: (transfer full):
+ * Return value: (transfer none):
  */
 OvirtCollection *ovirt_api_get_vm_pools(OvirtApi *api)
 {
@@ -164,7 +164,7 @@ OvirtCollection *ovirt_api_get_vm_pools(OvirtApi *api)
  * ovirt_api_get_storage_domains:
  * @api: a #OvirtApi
  *
- * Return value: (transfer full):
+ * Return value: (transfer none):
  */
 OvirtCollection *ovirt_api_get_storage_domains(OvirtApi *api)
 {
diff --git a/govirt/ovirt-proxy.c b/govirt/ovirt-proxy.c
index e92c214..677a006 100644
--- a/govirt/ovirt-proxy.c
+++ b/govirt/ovirt-proxy.c
@@ -863,7 +863,7 @@ static void ovirt_proxy_set_api_from_xml(OvirtProxy *proxy,
  * @proxy: a #OvirtProxy
  * @error: #GError to set on error, or NULL
  *
- * Return value: (transfer full):
+ * Return value: (transfer none):
  */
 OvirtApi *ovirt_proxy_fetch_api(OvirtProxy *proxy, GError **error)
 {
diff --git a/govirt/ovirt-storage-domain.c b/govirt/ovirt-storage-domain.c
index 1012007..bf8000f 100644
--- a/govirt/ovirt-storage-domain.c
+++ b/govirt/ovirt-storage-domain.c
@@ -359,7 +359,7 @@ ovirt_storage_domain_refresh_from_xml(OvirtStorageDomain *domain,
  * activity, the remote file list must be then be fetched using
  * ovirt_collection_fetch() or ovirt_collection_fetch_async().
  *
- * Return value: (transfer full): a #OvirtCollection representing the list
+ * Return value: (transfer none): a #OvirtCollection representing the list
  * of files associated with @domain.
  */
 OvirtCollection *ovirt_storage_domain_get_files(OvirtStorageDomain *domain)
diff --git a/govirt/ovirt-vm.c b/govirt/ovirt-vm.c
index 743b894..5f562c7 100644
--- a/govirt/ovirt-vm.c
+++ b/govirt/ovirt-vm.c
@@ -355,7 +355,7 @@ gboolean ovirt_vm_refresh_finish(OvirtVm *vm,
  * activity, the remote cdrom list must be then be fetched using
  * ovirt_collection_fetch() or ovirt_collection_fetch_async().
  *
- * Return value: (transfer full): a #OvirtCollection representing the list
+ * Return value: (transfer none): a #OvirtCollection representing the list
  * of cdroms associated with @vm.
  */
 OvirtCollection *ovirt_vm_get_cdroms(OvirtVm *vm)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]