[gtk+] fix some tree model annotations



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

    fix some tree model annotations
    
    * gtk_tree_model_iter_next - 'inout' is poorly defined and causes bugs so
      revert back to the default 'in' annotation
    * 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 dc7a0f8..a48df89 100644
--- a/gtk/gtktreemodel.c
+++ b/gtk/gtktreemodel.c
@@ -1175,7 +1175,7 @@ gtk_tree_model_get_value (GtkTreeModel *tree_model,
 /**
  * gtk_tree_model_iter_next:
  * @tree_model: A #GtkTreeModel.
- * @iter: (inout): The #GtkTreeIter.
+ * @iter: The #GtkTreeIter.
  *
  * Sets @iter to point to the node following it at the current level.  If there
  * is no next @iter, %FALSE is returned and @iter is set to be invalid.



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