forked from AuroraMiddleware/gtk
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:
parent
01d372422d
commit
0b266b70e0
@ -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),
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user