summaryrefslogtreecommitdiff
path: root/gtk/gtktreestore.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2008-09-11 19:31:04 +0000
committerCosimo Cecchi <cosimoc@src.gnome.org>2008-09-11 19:31:04 +0000
commite3924911b5a076cfce4dd0163cd7ede6aa021c86 (patch)
tree01da42e80557716f7f51538395786958b56e741e /gtk/gtktreestore.c
parentab1691d6f2b7a8da01e00bba299745954f575481 (diff)
downloadgtk+-e3924911b5a076cfce4dd0163cd7ede6aa021c86.tar.gz
Bug 536542 – gtk_list_store_set() documentation doesn't say whether
2008-09-11 Cosimo Cecchi <cosimoc@gnome.org> Bug 536542 – gtk_list_store_set() documentation doesn't say whether values are copied. * gtk/gtkliststore.c: * gtk/gtktreestore.c: Explicitly mention in the docs that gtk_[list,tree]_store_set copies or keep a reference of the values. svn path=/trunk/; revision=21349
Diffstat (limited to 'gtk/gtktreestore.c')
-rw-r--r--gtk/gtktreestore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtktreestore.c b/gtk/gtktreestore.c
index 4175d4949d..daf9e1a8d8 100644
--- a/gtk/gtktreestore.c
+++ b/gtk/gtktreestore.c
@@ -1070,6 +1070,7 @@ gtk_tree_store_set_valist (GtkTreeStore *tree_store,
* The list is terminated by a -1. For example, to set column 0 with type
* %G_TYPE_STRING to "Foo", you would write
* <literal>gtk_tree_store_set (store, iter, 0, "Foo", -1)</literal>.
+ * The value will be copied or referenced by the store if appropriate.
**/
void
gtk_tree_store_set (GtkTreeStore *tree_store,