[gtk+] annotations: Set GtkTreeModelFilterModifyFunc value argument to out
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] annotations: Set GtkTreeModelFilterModifyFunc value argument to out
- Date: Sun, 1 Dec 2013 22:22:15 +0000 (UTC)
commit af95d6628c68c9baa045b144cd924511f1c3d815
Author: Simon Feltman <sfeltman src gnome org>
Date: Wed Nov 27 16:54:09 2013 -0800
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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtktreemodelfilter.h b/gtk/gtktreemodelfilter.h
index 4a520b9..9d51997 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()
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]