Bug #498079. Free cell's action info before free the action_list.

2008-03-20  Li Yuan  <li.yuan@sun.com>

        * gailcell.c: (gail_cell_object_finalize):
        Bug #498079. Free cell's action info before free the action_list.

svn path=/trunk/; revision=19909
This commit is contained in:
Li Yuan 2008-03-20 08:44:27 +00:00 committed by Li Yuan
parent 01d372422d
commit 0b266b70e0
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-03-20 Li Yuan <li.yuan@sun.com>
* gailcell.c: (gail_cell_object_finalize):
Bug #498079. Free cell's action info before free the action_list.
2008-01-11 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (gail_tree_view_real_initialize), (focus_in),

View File

@ -146,7 +146,11 @@ gail_cell_object_finalize (GObject *obj)
if (cell->state_set)
g_object_unref (cell->state_set);
g_list_free (cell->action_list);
if (cell->action_list)
{
g_list_foreach (cell->action_list, _gail_cell_destroy_action_info, NULL);
g_list_free (cell->action_list);
}
if (cell->action_idle_handler)
{
g_source_remove (cell->action_idle_handler);