From af95d6628c68c9baa045b144cd924511f1c3d815 Mon Sep 17 00:00:00 2001 From: Simon Feltman Date: Wed, 27 Nov 2013 16:54:09 -0800 Subject: [PATCH] annotations: Set GtkTreeModelFilterModifyFunc value argument to out Use (out caller-allocates) annotation for the "value" argument to GtkTreeModelFilterModifyFunc. This is needed because GI based language bindings coerce GValue input args into native types and there is no opportunity to set the value within the GValue itself. https://bugzilla.gnome.org/show_bug.cgi?id=719460 --- gtk/gtktreemodelfilter.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtktreemodelfilter.h b/gtk/gtktreemodelfilter.h index 4a520b9b3b..9d51997425 100644 --- a/gtk/gtktreemodelfilter.h +++ b/gtk/gtktreemodelfilter.h @@ -53,8 +53,8 @@ typedef gboolean (* GtkTreeModelFilterVisibleFunc) (GtkTreeModel *model, * GtkTreeModelFilterModifyFunc: * @model: the #GtkTreeModelFilter * @iter: a #GtkTreeIter pointing to the row whose display values are determined - * @value: A #GValue which is already initialized for with the correct type for - * the column @column. + * @value: (out caller-allocates): A #GValue which is already initialized for + * with the correct type for the column @column. * @column: the column whose display value is determined * @data: (closure): user data given to gtk_tree_model_filter_set_modify_func() *