diff options
author | Paolo Borelli <pborelli@gnome.org> | 2012-03-10 19:32:56 +0100 |
---|---|---|
committer | Paolo Borelli <pborelli@gnome.org> | 2012-03-10 19:37:07 +0100 |
commit | 9ff75882c09c00b75d6e6e41f0d091800a08eb1b (patch) | |
tree | f88e2c44211e4d3248f153a7df03ced8514c01ef /gtk/gtktreestore.c | |
parent | 14e63a7370602119f86dbe86a431b4e361bbf103 (diff) | |
download | gtk+-9ff75882c09c00b75d6e6e41f0d091800a08eb1b.tar.gz |
Explicitely mention -1 in the insert_with_values docs
-1 means "append". Spell it out like we do for ListStore docs.
Diffstat (limited to 'gtk/gtktreestore.c')
-rw-r--r-- | gtk/gtktreestore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktreestore.c b/gtk/gtktreestore.c index 1c6d63638b..773a2562d8 100644 --- a/gtk/gtktreestore.c +++ b/gtk/gtktreestore.c @@ -1490,11 +1490,11 @@ gtk_tree_store_insert_after (GtkTreeStore *tree_store, * @tree_store: A #GtkTreeStore * @iter: (out) (allow-none): An unset #GtkTreeIter to set the new row, or %NULL. * @parent: (allow-none): A valid #GtkTreeIter, or %NULL - * @position: position to insert the new row + * @position: position to insert the new row, or -1 to append after existing rows * @...: pairs of column number and value, terminated with -1 * * Creates a new row at @position. @iter will be changed to point to this - * new row. If @position is larger than the number of rows on the list, then + * new row. If @position is -1, or larger than the number of rows on the list, then * the new row will be appended to the list. The row will be filled with * the values given to this function. * |