Commit af95d662 authored by Simon Feltman's avatar Simon Feltman Committed by Matthias Clasen

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
parent d31f3e57
......@@ -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()
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment