summaryrefslogtreecommitdiff
path: root/tests/testtreeview.c
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2001-06-26 17:01:53 +0000
committerJonathan Blandford <jrb@src.gnome.org>2001-06-26 17:01:53 +0000
commit94f7d7e604548d1bd2b73c2640f534b870b96054 (patch)
tree0a2ce47d8c953f97c8d3e8035d0dcd49f4535748 /tests/testtreeview.c
parent837b7120a81a4a64ece4dc361efba656641d091f (diff)
downloadgtk+-94f7d7e604548d1bd2b73c2640f534b870b96054.tar.gz
fix stupid missing statement
Tue Jun 26 12:59:28 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model): fix stupid missing statement * gtk/gtktreeview.c (gtk_tree_view_set_destroy_count_func): New private function for ATK. It notifies you of how many _visible_ children are deleted when a node is deleted. Should be used by atk only.
Diffstat (limited to 'tests/testtreeview.c')
-rw-r--r--tests/testtreeview.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/testtreeview.c b/tests/testtreeview.c
index a8bfed3dd1..204d4574b2 100644
--- a/tests/testtreeview.c
+++ b/tests/testtreeview.c
@@ -1446,10 +1446,11 @@ run_automated_tests (void)
{
/* Make sure tree store mutations don't crash anything */
GtkTreeStore *store;
-
+ GtkTreeIter root;
+
store = gtk_tree_store_new_with_types (1, G_TYPE_INT);
-
- treestore_torture_recurse (store, NULL, 0);
+ gtk_tree_model_get_iter_root (GTK_TREE_MODEL (store), &root);
+ treestore_torture_recurse (store, &root, 0);
g_object_unref (G_OBJECT (store));
}