aboutsummaryrefslogtreecommitdiffstats
path: root/a11y/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'a11y/calendar')
-rw-r--r--a11y/calendar/ea-day-view-main-item.c2
-rw-r--r--a11y/calendar/ea-week-view-main-item.c2
2 files changed, 2 insertions, 2 deletions
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);
}
}