Bug #508715. Should use gtk_tree_path_free to free a GtkTreePath.
2008-01-11 Li Yuan <li.yuan@sun.com> * gailtreeview.c: (gail_tree_view_get_n_rows): Bug #508715. Should use gtk_tree_path_free to free a GtkTreePath. svn path=/trunk/; revision=19349
This commit is contained in:
5
modules/other/gail/ChangeLog
Normal file
5
modules/other/gail/ChangeLog
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
2008-01-11 Li Yuan <li.yuan@sun.com>
|
||||||
|
|
||||||
|
* gailtreeview.c: (gail_tree_view_get_n_rows):
|
||||||
|
Bug #508715. Should use gtk_tree_path_free to free a GtkTreePath.
|
||||||
|
|
@ -1256,7 +1256,7 @@ gail_tree_view_get_n_rows (AtkTable *table)
|
|||||||
root_tree = gtk_tree_path_new_root ();
|
root_tree = gtk_tree_path_new_root ();
|
||||||
iterate_thru_children (tree_view, tree_model,
|
iterate_thru_children (tree_view, tree_model,
|
||||||
root_tree, NULL, &n_rows, 0);
|
root_tree, NULL, &n_rows, 0);
|
||||||
g_free (root_tree);
|
gtk_tree_path_free (root_tree);
|
||||||
}
|
}
|
||||||
|
|
||||||
return n_rows;
|
return n_rows;
|
||||||
|
Reference in New Issue
Block a user