[gtk+] annotation (transfer-none) fix that somehow got dropped from last patch



commit b74ee87b17705fb8c816163f588ff695cf27658e
Author: John (J5) Palmieri <johnp redhat com>
Date:   Thu Jul 8 15:26:55 2010 -0400

    annotation (transfer-none) fix that somehow got dropped from last patch
    
    * gtk_tree_path_get_indices_with_depth - annotate the return as 'transfer none'
      to avoid double frees

 gtk/gtktreemodel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktreemodel.c b/gtk/gtktreemodel.c
index a48df89..d9cf4e7 100644
--- a/gtk/gtktreemodel.c
+++ b/gtk/gtktreemodel.c
@@ -632,7 +632,7 @@ gtk_tree_path_get_indices (GtkTreePath *path)
  * It also returns the number of elements in the array.
  * The array should not be freed.
  *
- * Return value: (array length=depth): The current indices, or %NULL.
+ * Return value: (array length=depth) (transfer none): The current indices, or %NULL.
  *
  * Since: 3.0
  **/



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