[grilo] annotations: added missing transfer modes



commit ff186c34338f3473c7489b7b9a7d0e4f4ce48024
Author: Simon Pena <spena igalia com>
Date:   Fri Mar 18 17:46:20 2011 +0200

    annotations: added missing transfer modes

 src/data/grl-data.c         |    4 ++--
 src/data/grl-related-keys.c |    3 ++-
 src/grl-media-source.c      |    2 ++
 src/grl-plugin-registry.c   |    2 +-
 4 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/src/data/grl-data.c b/src/data/grl-data.c
index 95ed6bb..8b5c742 100644
--- a/src/data/grl-data.c
+++ b/src/data/grl-data.c
@@ -800,7 +800,7 @@ grl_data_length (GrlData *data,
  * If user changes any of the values in the related keys, the changes will
  * become permanent.
  *
- * Returns: a #GrlRelatedKeys. Do not free it.
+ * Returns: (transfer none): a #GrlRelatedKeys. Do not free it.
  *
  * Since: 0.1.10
  **/
@@ -1002,7 +1002,7 @@ grl_data_set_related_keys (GrlData *data,
  *
  * Makes a deep copy of @data and all its contents.
  *
- * Returns: a new #GrlData. Free it with #g_object_unref.
+ * Returns: (transfer full): a new #GrlData. Free it with #g_object_unref.
  *
  * Since: 0.1.10
  **/
diff --git a/src/data/grl-related-keys.c b/src/data/grl-related-keys.c
index 440fc7b..aec5489 100644
--- a/src/data/grl-related-keys.c
+++ b/src/data/grl-related-keys.c
@@ -581,7 +581,8 @@ grl_related_keys_key_is_known (GrlRelatedKeys *relkeys,
  *
  * Makes a deep copy of @relkeys and its contents.
  *
- * Returns: a new #GrlRelatedKeys. Free it with #g_object_unref.
+ * Returns: (transfer full): a new #GrlRelatedKeys.
+ * Free it with #g_object_unref.
  *
  * Since: 0.1.10
  **/
diff --git a/src/grl-media-source.c b/src/grl-media-source.c
index f32346c..12a8cfa 100644
--- a/src/grl-media-source.c
+++ b/src/grl-media-source.c
@@ -2590,6 +2590,8 @@ grl_media_source_get_media_from_uri (GrlMediaSource *source,
  *
  * This method is synchronous.
  *
+ * Returns: (transfer full): a filled #GrlMedia
+ *
  * Since: 0.1.8
  */
 GrlMedia *
diff --git a/src/grl-plugin-registry.c b/src/grl-plugin-registry.c
index 39b53e3..6bc150c 100644
--- a/src/grl-plugin-registry.c
+++ b/src/grl-plugin-registry.c
@@ -895,7 +895,7 @@ grl_plugin_registry_lookup_metadata_key (GrlPluginRegistry *registry,
  *
  * @key is included in that list.
  *
- * Returns: (element-type Grl.KeyID) (transfer-none): a #GList of related
+ * Returns: (element-type Grl.KeyID) (transfer none): a #GList of related
  * keys, or @NULL if key is invalid.
  *
  * Since: 0.1.10



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