gtk+ r19909 - trunk/modules/other/gail
- From: liyuan svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r19909 - trunk/modules/other/gail
- Date: Thu, 20 Mar 2008 08:44:27 +0000 (GMT)
Author: liyuan
Date: Thu Mar 20 08:44:27 2008
New Revision: 19909
URL: http://svn.gnome.org/viewvc/gtk+?rev=19909&view=rev
Log:
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.
Modified:
trunk/modules/other/gail/ChangeLog
trunk/modules/other/gail/gailcell.c
Modified: trunk/modules/other/gail/gailcell.c
==============================================================================
--- trunk/modules/other/gail/gailcell.c (original)
+++ trunk/modules/other/gail/gailcell.c Thu Mar 20 08:44:27 2008
@@ -146,7 +146,11 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]