summaryrefslogtreecommitdiff
path: root/tests/testtreeflow.c
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2001-12-08 01:10:52 +0000
committerJonathan Blandford <jrb@src.gnome.org>2001-12-08 01:10:52 +0000
commit82c5ace8890260e7ab7fc72bb66d7c3924be14f8 (patch)
tree768c07efef3d38715a2766c0f0c6e732aeb2d0ea /tests/testtreeflow.c
parent203d7df363c720d5a860e0ea36698b7385e187b7 (diff)
downloadgtk+-82c5ace8890260e7ab7fc72bb66d7c3924be14f8.tar.gz
get logic right, #66249
Fri Dec 7 20:06:14 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (validate_visible_area): get logic right, #66249 * gtk/gtkrbtree.c (_gtk_rbtree_remove_node): fix bug where removing a node ended up with a corrupt tree. Really really nasty bug. (_gtk_rbtree_debug_spew): new debug helper function (_fixup_validation): new inline function to clean up code readability a lot.
Diffstat (limited to 'tests/testtreeflow.c')
-rw-r--r--tests/testtreeflow.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/testtreeflow.c b/tests/testtreeflow.c
index d036f8cced..a47d507a91 100644
--- a/tests/testtreeflow.c
+++ b/tests/testtreeflow.c
@@ -60,11 +60,11 @@ futz_row (void)
{
case 0:
/* insert */
- gtk_list_store_insert_after (GTK_LIST_STORE (model),
- &iter2, &iter);
- gtk_list_store_set (GTK_LIST_STORE (model), &iter2,
- TEXT_COLUMN, words[g_rand_int_range (rand, 0, NUM_WORDS)],
- -1);
+ gtk_list_store_insert_after (GTK_LIST_STORE (model),
+ &iter2, &iter);
+ gtk_list_store_set (GTK_LIST_STORE (model), &iter2,
+ TEXT_COLUMN, words[g_rand_int_range (rand, 0, NUM_WORDS)],
+ -1);
break;
case 1:
/* delete */
@@ -77,8 +77,8 @@ futz_row (void)
if (gtk_tree_model_iter_n_children (model, NULL) == 0)
return;
gtk_list_store_set (GTK_LIST_STORE (model), &iter,
- TEXT_COLUMN, words[g_rand_int_range (rand, 0, NUM_WORDS)],
- -1);
+ TEXT_COLUMN, words[g_rand_int_range (rand, 0, NUM_WORDS)],
+ -1);
break;
}
}