gtk+ r21858 - trunk/modules/other/gail
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r21858 - trunk/modules/other/gail
- Date: Tue, 9 Dec 2008 14:49:34 +0000 (UTC)
Author: mitch
Date: Tue Dec 9 14:49:34 2008
New Revision: 21858
URL: http://svn.gnome.org/viewvc/gtk+?rev=21858&view=rev
Log:
2008-12-09 Michael Natterer <mitch imendio com>
* gailtreeview.c: undeprecate.
Modified:
trunk/modules/other/gail/ChangeLog
trunk/modules/other/gail/gailtreeview.c
Modified: trunk/modules/other/gail/gailtreeview.c
==============================================================================
--- trunk/modules/other/gail/gailtreeview.c (original)
+++ trunk/modules/other/gail/gailtreeview.c Tue Dec 9 14:49:34 2008
@@ -1261,7 +1261,7 @@
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 @@
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 @@
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 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]