diff options
author | Michael Natterer <mitch@imendio.com> | 2008-12-09 14:49:34 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-12-09 14:49:34 +0000 |
commit | 448201a8364828c7ffb943364fe5e91055fceb04 (patch) | |
tree | 0e6cc002d6935538c528e67bd4330a6d2df5d7d2 /modules/other | |
parent | 10f333e3b1e312dc9425d419ec6fc7e74853629e (diff) | |
download | gtk+-448201a8364828c7ffb943364fe5e91055fceb04.tar.gz |
undeprecate.
2008-12-09 Michael Natterer <mitch@imendio.com>
* gailtreeview.c: undeprecate.
svn path=/trunk/; revision=21858
Diffstat (limited to 'modules/other')
-rw-r--r-- | modules/other/gail/ChangeLog | 4 | ||||
-rw-r--r-- | modules/other/gail/gailtreeview.c | 11 |
2 files changed, 10 insertions, 5 deletions
diff --git a/modules/other/gail/ChangeLog b/modules/other/gail/ChangeLog index 5fe682e18d..46d885ea6c 100644 --- a/modules/other/gail/ChangeLog +++ b/modules/other/gail/ChangeLog @@ -1,3 +1,7 @@ +2008-12-09 Michael Natterer <mitch@imendio.com> + + * gailtreeview.c: undeprecate. + 2008-11-27 Matthias Clasen <mclasen@redhat.com> Bug 353088 – gtk_expander_get_label should return the full label text diff --git a/modules/other/gail/gailtreeview.c b/modules/other/gail/gailtreeview.c index 6d6dc65395..b7d6ae00e2 100644 --- a/modules/other/gail/gailtreeview.c +++ b/modules/other/gail/gailtreeview.c @@ -1261,7 +1261,7 @@ gail_tree_view_get_n_rows (AtkTable *table) GtkTreePath *root_tree; n_rows = 0; - root_tree = gtk_tree_path_new_root (); + root_tree = gtk_tree_path_new_first (); iterate_thru_children (tree_view, tree_model, root_tree, NULL, &n_rows, 0); gtk_tree_path_free (root_tree); @@ -3090,8 +3090,9 @@ is_cell_showing (GtkTreeView *tree_view, tree_cell_rect->height = cell_rect->height; gtk_tree_view_get_visible_rect (tree_view, visible_rect); - gtk_tree_view_widget_to_tree_coords (tree_view, cell_rect->x, cell_rect->y, - NULL, &(rect1.y)); + gtk_tree_view_convert_widget_to_bin_window_coords (tree_view, + cell_rect->x, cell_rect->y, + NULL, &(rect1.y)); if (((tree_cell_rect->x + tree_cell_rect->width) < visible_rect->x) || ((tree_cell_rect->y + tree_cell_rect->height) < (visible_rect->y)) || @@ -3232,7 +3233,7 @@ set_iter_nth_row (GtkTreeView *tree_view, GtkTreeModel *tree_model; tree_model = gtk_tree_view_get_model (tree_view); - gtk_tree_model_get_iter_root (tree_model, iter); + gtk_tree_model_get_iter_first (tree_model, iter); iter = return_iter_nth_row (tree_view, tree_model, iter, 0 , row); } @@ -3250,7 +3251,7 @@ get_row_from_tree_path (GtkTreeView *tree_view, row = gtk_tree_path_get_indices (path)[0]; else { - root_tree = gtk_tree_path_new_root (); + root_tree = gtk_tree_path_new_first (); row = 0; iterate_thru_children (tree_view, tree_model, root_tree, path, &row, 0); gtk_tree_path_free (root_tree); |