[gtk+] docs: Clarify position of gtk_list_store_insert_with_values()
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] docs: Clarify position of gtk_list_store_insert_with_values()
- Date: Mon, 20 Feb 2012 10:26:02 +0000 (UTC)
commit 9a732c40fc07e5aa3c9b946f935527c89bf905f3
Author: David King <amigadave amigadave com>
Date: Mon Feb 20 09:59:45 2012 +0000
docs: Clarify position of gtk_list_store_insert_with_values()
https://bugzilla.gnome.org/show_bug.cgi?id=612283
gtk/gtkliststore.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkliststore.c b/gtk/gtkliststore.c
index 8daf734..9a770e7 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]