diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-12-08 06:20:49 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-12-08 14:55:28 +0800 |
commit | dd65b18ddf2f4e7fdc108b0ed147658c36103eea (patch) | |
tree | 063b83f2bd337c34bcb573cbae4b6d60ec34eab6 /modules/calendar/e-cal-shell-view-actions.c | |
parent | eb60a4e448fff45d0db5a5856cb19e3abb90a9e0 (diff) | |
download | gsoc2013-evolution-dd65b18ddf2f4e7fdc108b0ed147658c36103eea.tar.gz gsoc2013-evolution-dd65b18ddf2f4e7fdc108b0ed147658c36103eea.tar.zst gsoc2013-evolution-dd65b18ddf2f4e7fdc108b0ed147658c36103eea.zip |
Kill ETableScrolled.
ETableScrolled is nothing but a GtkScrolledWindow containing an ETable.
It adds nothing of value and actually makes customizing ETable harder.
Diffstat (limited to 'modules/calendar/e-cal-shell-view-actions.c')
-rw-r--r-- | modules/calendar/e-cal-shell-view-actions.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/calendar/e-cal-shell-view-actions.c b/modules/calendar/e-cal-shell-view-actions.c index 3b25d0b763..b5fd49bb83 100644 --- a/modules/calendar/e-cal-shell-view-actions.c +++ b/modules/calendar/e-cal-shell-view-actions.c @@ -207,11 +207,9 @@ action_calendar_print_cb (GtkAction *action, print_action = GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG; if (E_IS_CAL_LIST_VIEW (view)) { - ECalListView *list_view; ETable *table; - list_view = E_CAL_LIST_VIEW (view); - table = e_table_scrolled_get_table (list_view->table_scrolled); + table = E_CAL_LIST_VIEW (view)->table; print_table (table, _("Print"), _("Calendar"), print_action); } else { time_t start; @@ -238,11 +236,9 @@ action_calendar_print_preview_cb (GtkAction *action, print_action = GTK_PRINT_OPERATION_ACTION_PREVIEW; if (E_IS_CAL_LIST_VIEW (view)) { - ECalListView *list_view; ETable *table; - list_view = E_CAL_LIST_VIEW (view); - table = e_table_scrolled_get_table (list_view->table_scrolled); + table = E_CAL_LIST_VIEW (view)->table; print_table (table, _("Print"), _("Calendar"), print_action); } else { time_t start; |