[gtk+] annotation fixes
- From: John Palmieri <johnp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] annotation fixes
- Date: Thu, 27 May 2010 20:59:40 +0000 (UTC)
commit c21e9ba7c3a7345ff942c3a21d1808648b959fd3
Author: John (J5) Palmieri <johnp redhat com>
Date: Thu May 27 16:53:42 2010 -0400
annotation fixes
* gtk_tree_model_get_column_type: transfer none added to the return value
* gtk_tree_model_get_path: value parameter switched from inout to out
so that it is annotated with caller-allocates
gtk/gtktreemodel.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtktreemodel.c b/gtk/gtktreemodel.c
index bf45a31..526d168 100644
--- a/gtk/gtktreemodel.c
+++ b/gtk/gtktreemodel.c
@@ -978,7 +978,7 @@ gtk_tree_model_get_n_columns (GtkTreeModel *tree_model)
*
* Returns the type of the column.
*
- * Return value: The type of the column.
+ * Return value: (transfer none): The type of the column.
**/
GType
gtk_tree_model_get_column_type (GtkTreeModel *tree_model,
@@ -1148,7 +1148,7 @@ gtk_tree_model_get_path (GtkTreeModel *tree_model,
* @tree_model: A #GtkTreeModel.
* @iter: The #GtkTreeIter.
* @column: The column to lookup the value at.
- * @value: (inout) (transfer none) An empty #GValue to set.
+ * @value: (out) (transfer none) An empty #GValue to set.
*
* Initializes and sets @value to that at @column.
* When done with @value, g_value_unset() needs to be called
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]