diff options
Diffstat (limited to 'modules/calendar/e-cal-shell-view-taskpad.c')
-rw-r--r-- | modules/calendar/e-cal-shell-view-taskpad.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/calendar/e-cal-shell-view-taskpad.c b/modules/calendar/e-cal-shell-view-taskpad.c index a00474a572..e011568117 100644 --- a/modules/calendar/e-cal-shell-view-taskpad.c +++ b/modules/calendar/e-cal-shell-view-taskpad.c @@ -481,7 +481,6 @@ e_cal_shell_view_taskpad_actions_update (ECalShellView *cal_shell_view) EShellWindow *shell_window; EShellView *shell_view; ECalendarTable *task_table; - ETable *table; GtkAction *action; GSList *list, *iter; const gchar *label; @@ -499,8 +498,7 @@ e_cal_shell_view_taskpad_actions_update (ECalShellView *cal_shell_view) cal_shell_content = cal_shell_view->priv->cal_shell_content; task_table = e_cal_shell_content_get_task_table (cal_shell_content); - table = e_calendar_table_get_table (task_table); - n_selected = e_table_selected_count (table); + n_selected = e_table_selected_count (E_TABLE (task_table)); list = e_calendar_table_get_selected (task_table); for (iter = list; iter != NULL; iter = iter->next) { |