From a265926e2f4391af6e57f5fd2015e025b2302189 Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Sun, 24 Feb 2002 04:18:44 +0000 Subject: at Feb 23 23:00:48 2002 Jonathan Blandford * gtk/gtktreemodel.h: add () to function macros as per owen's request. * gtk/gtkfontsel.c: (gtk_font_selection_select_best_style), (gtk_font_selection_show_available_sizes), (gtk_font_selection_set_font_name): * gtk/gtktreemodel.c: (gtk_tree_model_get_iter_first), (gtk_tree_model_foreach): * gtk/gtktreemodelsort.c: (gtk_tree_model_sort_sort_level), (gtk_tree_model_sort_build_level): * gtk/gtktreeselection.c: (gtk_tree_selection_selected_foreach): * gtk/gtktreeview.c: (validate_visible_area), (gtk_tree_view_focus_to_cursor), (gtk_tree_view_set_model), (gtk_tree_view_map_expanded_rows), (gtk_tree_view_search_move), (gtk_tree_view_search_init): * tests/testtreeview.c: (run_automated_tests): change iter_root to iter_first --- tests/testtreeview.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/testtreeview.c') diff --git a/tests/testtreeview.c b/tests/testtreeview.c index a2e5f149c9..3ec2ca0341 100644 --- a/tests/testtreeview.c +++ b/tests/testtreeview.c @@ -1290,7 +1290,7 @@ run_automated_tests (void) ++i; } - while (gtk_tree_model_get_iter_root (model, &iter)) + while (gtk_tree_model_get_iter_first (model, &iter)) gtk_list_store_remove (store, &iter); gtk_list_store_append (store, &iter); @@ -1322,7 +1322,7 @@ run_automated_tests (void) } /* remove everything again */ - while (gtk_tree_model_get_iter_root (model, &iter)) + while (gtk_tree_model_get_iter_first (model, &iter)) gtk_list_store_remove (store, &iter); @@ -1337,7 +1337,7 @@ run_automated_tests (void) } /* remove everything again */ - while (gtk_tree_model_get_iter_root (model, &iter)) + while (gtk_tree_model_get_iter_first (model, &iter)) gtk_list_store_remove (store, &iter); g_object_unref (G_OBJECT (store)); -- cgit v1.2.1