diff options
author | Havoc Pennington <hp@redhat.com> | 2001-01-10 23:44:22 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-01-10 23:44:22 +0000 |
commit | 740ee8ef9467725b5cac7c145c4d1c5d065e8f74 (patch) | |
tree | 41d2b89f5e052b309db8950b4f5a45018bb87190 /gtk/gtktreestore.h | |
parent | 85267e9224f8ffec7aeafb8ccbed583d60e7bf4c (diff) | |
download | gtk+-740ee8ef9467725b5cac7c145c4d1c5d065e8f74.tar.gz |
handle case where sibling == iter (gtk_tree_store_insert_after): handle
2001-01-10 Havoc Pennington <hp@redhat.com>
* gtk/gtktreestore.c (gtk_tree_store_insert_before): handle case
where sibling == iter
(gtk_tree_store_insert_after): handle sibling == iter
(gtk_tree_store_prepend): remove stamp checks
(gtk_tree_store_insert_before): ditto
(gtk_tree_store_append): ditto
(gtk_tree_store_get_path): ditto
(gtk_tree_store_get_value): ditto
(gtk_tree_store_iter_has_child): ditto
(gtk_tree_store_iter_n_children): ditto
(gtk_tree_store_iter_nth_child): ditto
(gtk_tree_store_insert_after): ditto
(gtk_tree_store_is_ancestor): ditto
(gtk_tree_store_iter_depth): ditto
(gtk_tree_store_insert_before): assert that sibling's parent is
the same as the passed-in parent
(gtk_tree_store_insert_after): assert that sibling's parent is
the same as the passed-in parent
* gtk/gtktreemodel.c (gtk_tree_model_get_first): new convenience
function to get the first iterator in a model
* gtk/gtktreestore.c (gtk_tree_store_get_root_iter): remove,
conventionally the "root" in this sense is just NULL afaict.
* gtk/gtkliststore.c (gtk_list_store_insert_before): handle case
where sibling == iter
(gtk_list_store_insert_after): handle case where sibling == iter
* tests/testtreeview.c (run_automated_tests): fairly lame basic
automated tests for ListStore, TreeStore
* gtk/gtkliststore.c (gtk_list_store_remove): update tail pointer
(gtk_list_store_insert): update tail pointer, and fix it to work
(gtk_list_store_insert_before): update tail pointer, and fix it to work
(gtk_list_store_append): use tail to be faster
(gtk_list_store_prepend): fix it, update tail pointer
(gtk_list_store_insert_after): fix it, update tail pointer
* gtk/gtkliststore.h (struct _GtkListStore): add tail pointer for
the list
Diffstat (limited to 'gtk/gtktreestore.h')
-rw-r--r-- | gtk/gtktreestore.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtktreestore.h b/gtk/gtktreestore.h index ab6abefa1d..b56c3f8ce4 100644 --- a/gtk/gtktreestore.h +++ b/gtk/gtktreestore.h @@ -113,8 +113,6 @@ void gtk_tree_store_prepend (GtkTreeStore *tree_store, void gtk_tree_store_append (GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *parent); -void gtk_tree_store_get_root_iter (GtkTreeStore *tree_store, - GtkTreeIter *iter); gboolean gtk_tree_store_is_ancestor (GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *descendant); |