aboutsummaryrefslogtreecommitdiffstats
path: root/a11y/calendar/ea-week-view-main-item.c
diff options
context:
space:
mode:
authorLi Yuan <li.yuan@sun.com>2005-04-25 17:23:53 +0800
committerHarry Lu <haip@src.gnome.org>2005-04-25 17:23:53 +0800
commit43ad2d5fe38bdfea679c9d4e2b28faeabf35cbf7 (patch)
tree94aa4a5e5a36be9ae375ca8cc1a24c39340c47d5 /a11y/calendar/ea-week-view-main-item.c
parent00d3f0c862d2b61fd7ccec25d488f93de2da6333 (diff)
downloadgsoc2013-evolution-43ad2d5fe38bdfea679c9d4e2b28faeabf35cbf7.tar
gsoc2013-evolution-43ad2d5fe38bdfea679c9d4e2b28faeabf35cbf7.tar.gz
gsoc2013-evolution-43ad2d5fe38bdfea679c9d4e2b28faeabf35cbf7.tar.bz2
gsoc2013-evolution-43ad2d5fe38bdfea679c9d4e2b28faeabf35cbf7.tar.lz
gsoc2013-evolution-43ad2d5fe38bdfea679c9d4e2b28faeabf35cbf7.tar.xz
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/calendar/ea-week-view-main-item.c')
-rw-r--r--a11y/calendar/ea-week-view-main-item.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}