diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-08-19 10:47:49 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-08-19 10:47:49 +0800 |
commit | 026e76465697c7a8df48af89f4b3845902219fe7 (patch) | |
tree | e8aa83984daea54244e6bf80643fbc5d22cbc496 /calendar/gui/print.c | |
parent | dbd93b798184e94e492280bc81644477f8947168 (diff) | |
download | gsoc2013-evolution-026e76465697c7a8df48af89f4b3845902219fe7.tar.gz gsoc2013-evolution-026e76465697c7a8df48af89f4b3845902219fe7.tar.zst gsoc2013-evolution-026e76465697c7a8df48af89f4b3845902219fe7.zip |
Trim more fat off the GnomeCalendar API.
Oh and hey look, I can see events now!
Diffstat (limited to 'calendar/gui/print.c')
-rw-r--r-- | calendar/gui/print.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/print.c b/calendar/gui/print.c index b68320e449..e6563cd846 100644 --- a/calendar/gui/print.c +++ b/calendar/gui/print.c @@ -676,7 +676,7 @@ print_month_small (GtkPrintContext *context, GnomeCalendar *gcal, time_t month, sprintf (buf, "%d", day); /* this is a slow messy way to do this ... but easy ... */ - e_cal_model_generate_instances (gnome_calendar_get_calendar_model (gcal), now, + e_cal_model_generate_instances (gnome_calendar_get_model (gcal), now, time_day_end_with_zone (now, zone), instance_cb, &found); @@ -1247,7 +1247,7 @@ print_day_details (GtkPrintContext *context, GnomeCalendar *gcal, time_t whence, double font_size, max_font_size; cairo_t *cr; - ECalModel *model = gnome_calendar_get_calendar_model (gcal); + ECalModel *model = gnome_calendar_get_model (gcal); start = time_day_begin_with_zone (whence, zone); end = time_day_end_with_zone (start, zone); @@ -1733,7 +1733,7 @@ print_week_summary (GtkPrintContext *context, GnomeCalendar *gcal, GArray *spans; PangoFontDescription *font; double cell_width, cell_height; - ECalModel *model = gnome_calendar_get_calendar_model (gcal); + ECalModel *model = gnome_calendar_get_model (gcal); psi.days_shown = weeks_shown * 7; psi.events = g_array_new (FALSE, FALSE, sizeof (EWeekViewEvent)); |