mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
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:
parent
a39f6c4611
commit
be9d0fa25d
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 ();
|
||||
iterate_thru_children (tree_view, tree_model,
|
||||
root_tree, NULL, &n_rows, 0);
|
||||
g_free (root_tree);
|
||||
gtk_tree_path_free (root_tree);
|
||||
}
|
||||
|
||||
return n_rows;
|
||||
|
Loading…
Reference in New Issue
Block a user