diff options
author | Li Yuan <li.yuan@sun.com> | 2005-04-25 17:23:53 +0800 |
---|---|---|
committer | Harry Lu <haip@src.gnome.org> | 2005-04-25 17:23:53 +0800 |
commit | 43ad2d5fe38bdfea679c9d4e2b28faeabf35cbf7 (patch) | |
tree | 94aa4a5e5a36be9ae375ca8cc1a24c39340c47d5 /a11y | |
parent | 00d3f0c862d2b61fd7ccec25d488f93de2da6333 (diff) | |
download | gsoc2013-evolution-43ad2d5fe38bdfea679c9d4e2b28faeabf35cbf7.tar.gz gsoc2013-evolution-43ad2d5fe38bdfea679c9d4e2b28faeabf35cbf7.tar.zst gsoc2013-evolution-43ad2d5fe38bdfea679c9d4e2b28faeabf35cbf7.zip |
change the order of the code to avoid a crash.
2005-04-22 Li Yuan <li.yuan@sun.com>
* calendar/ea-day-view-main-item.c:
(ea_day_view_main_item_destory_cell_data):
* calendar/ea-week-view-main-item.c:
(ea_week_view_main_item_destory_cell_data):
change the order of the code to avoid a crash.
Fixes #301885
svn path=/trunk/; revision=29227
Diffstat (limited to 'a11y')
-rw-r--r-- | a11y/ChangeLog | 10 | ||||
-rw-r--r-- | a11y/calendar/ea-day-view-main-item.c | 2 | ||||
-rw-r--r-- | a11y/calendar/ea-week-view-main-item.c | 2 |
3 files changed, 12 insertions, 2 deletions
diff --git a/a11y/ChangeLog b/a11y/ChangeLog index 44113cf288..3f360d626e 100644 --- a/a11y/ChangeLog +++ b/a11y/ChangeLog @@ -1,3 +1,13 @@ +2005-04-22 Li Yuan <li.yuan@sun.com> + + * calendar/ea-day-view-main-item.c: + (ea_day_view_main_item_destory_cell_data): + * calendar/ea-week-view-main-item.c: + (ea_week_view_main_item_destory_cell_data): + change the order of the code to avoid a crash. + + Fixes #301885 + 2005-04-06 Yu Mengjie <meng-jie.yu@sun.com> * addressbook/ea-minicard-view.c: (ea_minicard_view_get_name), diff --git a/a11y/calendar/ea-day-view-main-item.c b/a11y/calendar/ea-day-view-main-item.c index b65ad63957..ea8b9ce2ee 100644 --- a/a11y/calendar/ea-day-view-main-item.c +++ b/a11y/calendar/ea-day-view-main-item.c @@ -606,9 +606,9 @@ ea_day_view_main_item_destory_cell_data (EaDayViewMainItem *ea_main_item) cell_data = g_object_get_data (G_OBJECT(ea_main_item), "ea-day-view-cell-table"); if (cell_data) { - ea_cell_table_destroy (cell_data); g_object_set_data (G_OBJECT(ea_main_item), "ea-day-view-cell-table", NULL); + ea_cell_table_destroy (cell_data); } } diff --git a/a11y/calendar/ea-week-view-main-item.c b/a11y/calendar/ea-week-view-main-item.c index 2d013dc802..81a66cfedc 100644 --- a/a11y/calendar/ea-week-view-main-item.c +++ b/a11y/calendar/ea-week-view-main-item.c @@ -600,9 +600,9 @@ ea_week_view_main_item_destory_cell_data (EaWeekViewMainItem *ea_main_item) cell_data = g_object_get_data (G_OBJECT(ea_main_item), "ea-week-view-cell-table"); if (cell_data) { - ea_cell_table_destroy (cell_data); g_object_set_data (G_OBJECT(ea_main_item), "ea-week-view-cell-table", NULL); + ea_cell_table_destroy (cell_data); } } |