[PATCH 15/16] annotations: Fixed grl_data_get_keys transfer mode



---
 src/data/grl-data.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/data/grl-data.c b/src/data/grl-data.c
index 6ea8154..81a30f9 100644
--- a/src/data/grl-data.c
+++ b/src/data/grl-data.c
@@ -405,7 +405,9 @@ grl_data_has_key (GrlData *data, GrlKeyID key)
  *
  * Returns a list with keys contained in data.
  *
- * Returns: (transfer none) (element-type GObject.ParamSpec): an array with the keys.
+ * Returns: (transfer container) (element-type GObject.ParamSpec): an array with
+ * the keys. The content of the list should not be modified or freed. Use g_list_free()
+ * when done using the list.
  **/
 GList *
 grl_data_get_keys (GrlData *data)
-- 
1.7.0.4



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