diff options
author | David King <amigadave@amigadave.com> | 2012-02-20 09:59:45 +0000 |
---|---|---|
committer | David King <amigadave@amigadave.com> | 2012-02-20 10:25:26 +0000 |
commit | 9a732c40fc07e5aa3c9b946f935527c89bf905f3 (patch) | |
tree | 87d450413abd22930a026bd8a7e3ed5372b1c8c4 /gtk/gtkliststore.c | |
parent | c84d58ce1b50c4181f84d0146de902ef9683428e (diff) | |
download | gtk+-9a732c40fc07e5aa3c9b946f935527c89bf905f3.tar.gz |
docs: Clarify position of gtk_list_store_insert_with_values()
https://bugzilla.gnome.org/show_bug.cgi?id=612283
Diffstat (limited to 'gtk/gtkliststore.c')
-rw-r--r-- | gtk/gtkliststore.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtkliststore.c b/gtk/gtkliststore.c index 8daf7347ef..9a770e7f36 100644 --- a/gtk/gtkliststore.c +++ b/gtk/gtkliststore.c @@ -2171,12 +2171,13 @@ gtk_list_store_has_default_sort_func (GtkTreeSortable *sortable) * gtk_list_store_insert_with_values: * @list_store: A #GtkListStore * @iter: (out) (allow-none): An unset #GtkTreeIter to set to the new row, 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 the - * new row will be appended to the list. The row will be filled with the + * row. If @position is -1, or larger than the number of rows in the list, then + * the new row will be appended to the list. The row will be filled with the * values given to this function. * * Calling |