From 5ed24c4ed7cad8f8ef21a1f4ea44f4f7e5cd6c79 Mon Sep 17 00:00:00 2001
From: Evangelos Ribeiro Tzaras <evangelos.tzaras@puri.sm>
Date: Mon, 26 Apr 2021 10:29:24 +0200
Subject: [PATCH] doc: Fix gtk-doc transfer annotations

---
 plugins/sip/calls-sip-media-manager.c | 8 ++++----
 plugins/sip/gst-rfc3551.c             | 8 ++++----
 src/calls-contacts-provider.c         | 2 +-
 src/calls-provider.c                  | 4 ++--
 4 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/plugins/sip/calls-sip-media-manager.c b/plugins/sip/calls-sip-media-manager.c
index d1fe27e..61c7c59 100644
--- a/plugins/sip/calls-sip-media-manager.c
+++ b/plugins/sip/calls-sip-media-manager.c
@@ -101,7 +101,7 @@ calls_sip_media_manager_default ()
  * @use_srtp: Whether to use srtp (not really handled)
  * @supported_codecs: A #GList of #MediaCodecInfo
  *
- * Returns: (transfer: full) string describing capabilities
+ * Returns: (transfer full): string describing capabilities
  * to be used in the session description (SDP)
  */
 char *
@@ -159,7 +159,7 @@ calls_sip_media_manager_get_capabilities (CallsSipMediaManager *self,
  * @port: Should eventually come from the ICE stack
  * @use_srtp: Whether to use srtp (not really handled)
  *
- * Returns: (transfer: full) string describing capabilities
+ * Returns: (transfer full): string describing capabilities
  * to be used in the session description (SDP)
  */
 char *
@@ -187,7 +187,7 @@ get_best_codec (CallsSipMediaManager *self)
  *
  * @self: A #CallsSipMediaManager
  *
- * Returns: (transfer: none) A #GList of supported
+ * Returns: (transfer none): A #GList of supported
  * #MediaCodecInfo
  */
 GList *
@@ -204,7 +204,7 @@ calls_sip_media_manager_codec_candidates (CallsSipMediaManager *self)
  * @self: A #CallsSipMediaManager
  * @sdp: A #sdp_media_t media description
  *
- * Returns: (transfer: full) A #GList of codecs found in the
+ * Returns: (transfer full): A #GList of codecs found in the
  * SDP message
  */
 GList *
diff --git a/plugins/sip/gst-rfc3551.c b/plugins/sip/gst-rfc3551.c
index 4fee802..797cadd 100644
--- a/plugins/sip/gst-rfc3551.c
+++ b/plugins/sip/gst-rfc3551.c
@@ -60,7 +60,7 @@ media_codec_available_in_gst (MediaCodecInfo *codec) {
  *
  * @name: The name of the codec
  *
- * Returns: (transfer: none) A #MediaCodecInfo, if found
+ * Returns: (transfer none): A #MediaCodecInfo, if found
  */
 MediaCodecInfo *
 media_codec_by_name (const char *name)
@@ -79,7 +79,7 @@ media_codec_by_name (const char *name)
  *
  * @payload_id: The payload id (see RFC 3551, 3555, 4733, 4855)
  *
- * Returns: (transfer: none) A #MediaCodecInfo, if found
+ * Returns: (transfer none): A #MediaCodecInfo, if found
  */
 MediaCodecInfo *
 media_codec_by_payload_id (guint payload_id)
@@ -96,7 +96,7 @@ media_codec_by_payload_id (guint payload_id)
  *
  * @codec: A #MediaCodecInfo
  *
- * Returns: (transfer: full) The capability string describing GstCaps.
+ * Returns: (transfer full): The capability string describing GstCaps.
  * Used for the RTP source element.
  */
 gchar *
@@ -111,7 +111,7 @@ media_codec_get_gst_capabilities (MediaCodecInfo *codec)
 
 /* media_codecs_get_candidates:
  *
- * Returns: (transfer: none) A #GList of codec candidates of type #MediaCodecInfo
+ * Returns: (transfer none): A #GList of codec candidates of type #MediaCodecInfo
  */
 GList *
 media_codecs_get_candidates ()
diff --git a/src/calls-contacts-provider.c b/src/calls-contacts-provider.c
index 4ee9820..2a36407 100644
--- a/src/calls-contacts-provider.c
+++ b/src/calls-contacts-provider.c
@@ -314,7 +314,7 @@ calls_contacts_provider_get_individuals (CallsContactsProvider *self)
  *
  * Get a best contact match for a phone number
  *
- * Returns: (transfer: full): The best match as #CallsBestMatch
+ * Returns: (transfer full): The best match as #CallsBestMatch
  */
 CallsBestMatch *
 calls_contacts_provider_lookup_phone_number (CallsContactsProvider *self,
diff --git a/src/calls-provider.c b/src/calls-provider.c
index 44ee46b..53c08e9 100644
--- a/src/calls-provider.c
+++ b/src/calls-provider.c
@@ -149,7 +149,7 @@ calls_provider_get_status (CallsProvider *self)
  *
  * Get the list of #CallsOrigin interfaces offered by this provider.
  *
- * Returns: (transfer: none): A #GListModel of origins
+ * Returns: (transfer none): A #GListModel of origins
  */
 GListModel *
 calls_provider_get_origins (CallsProvider *self)
@@ -165,7 +165,7 @@ calls_provider_get_origins (CallsProvider *self)
  *
  * Get a #CallsProvider plugin by name
  *
- * Returns: (transfer: full): A #CallsProvider
+ * Returns: (transfer full): A #CallsProvider
  */
 CallsProvider *
 calls_provider_load_plugin (const char *name)