summaryrefslogtreecommitdiff
path: root/gtk/gtktreeselection.c
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@src.gnome.org>2002-02-24 04:18:44 +0000
committerJonathan Blandford <jrb@src.gnome.org>2002-02-24 04:18:44 +0000
commita265926e2f4391af6e57f5fd2015e025b2302189 (patch)
treeb9de7f386492a14d967366106920a584a351fddf /gtk/gtktreeselection.c
parent5d973ef32ed01f9711aaebf68035664e0c976053 (diff)
downloadgtk+-a265926e2f4391af6e57f5fd2015e025b2302189.tar.gz
at Feb 23 23:00:48 2002 Jonathan Blandford <jrb@redhat.com>
* 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
Diffstat (limited to 'gtk/gtktreeselection.c')
-rw-r--r--gtk/gtktreeselection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktreeselection.c b/gtk/gtktreeselection.c
index 54ef4c8d45..6b67452bc6 100644
--- a/gtk/gtktreeselection.c
+++ b/gtk/gtktreeselection.c
@@ -430,7 +430,7 @@ gtk_tree_selection_selected_foreach (GtkTreeSelection *selection,
node = node->left;
/* find the node internally */
- path = gtk_tree_path_new_root ();
+ path = gtk_tree_path_new_first ();
gtk_tree_model_get_iter (selection->tree_view->priv->model,
&iter, path);