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
This commit is contained in:
@ -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),
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user