diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-01-25 11:12:54 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-01-25 20:41:55 +0800 |
commit | bd5c704df902461748d07df496897669fc626e45 (patch) | |
tree | 2d3933c508e8d663233e1b56d232f085769dba6d /calendar/gui/print.c | |
parent | e741ec3076ef6776611f8dc3f125011f9da62256 (diff) | |
download | gsoc2013-evolution-bd5c704df902461748d07df496897669fc626e45.tar.gz gsoc2013-evolution-bd5c704df902461748d07df496897669fc626e45.tar.zst gsoc2013-evolution-bd5c704df902461748d07df496897669fc626e45.zip |
Remove a couple silly ECalModel functions.
Diffstat (limited to 'calendar/gui/print.c')
-rw-r--r-- | calendar/gui/print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/print.c b/calendar/gui/print.c index 1781788a57..3c7706d67b 100644 --- a/calendar/gui/print.c +++ b/calendar/gui/print.c @@ -1735,7 +1735,7 @@ print_week_summary_cb (ECalComponent *comp, start_tt = icaltime_from_timet_with_zone (start, FALSE, zone); end_tt = icaltime_from_timet_with_zone (end, FALSE, zone); - event.comp_data = e_cal_model_copy_component_data (mdata->comp_data); + event.comp_data = g_object_ref (mdata->comp_data); event.start = start; event.end = end; @@ -1846,7 +1846,7 @@ print_week_summary (GtkPrintContext *context, GnomeCalendar *gcal, /* Free everything. */ for (event_num = 0; event_num < psi.events->len; event_num++) { event = &g_array_index (psi.events, EWeekViewEvent, event_num); - e_cal_model_free_component_data (event->comp_data); + g_object_unref (event->comp_data); } g_array_free (psi.events, TRUE); g_array_free (spans, TRUE); |