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/e-day-view.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/e-day-view.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index 3a276a5aef..5b9d68b9ed 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -2074,7 +2074,7 @@ e_day_view_remove_event_cb (EDayView *day_view, if (event->canvas_item) gtk_object_destroy (GTK_OBJECT (event->canvas_item)); - e_cal_model_free_component_data (event->comp_data); + g_object_unref (event->comp_data); event->comp_data = NULL; if (day == E_DAY_VIEW_LONG_EVENT) { @@ -4466,7 +4466,7 @@ e_day_view_free_event_array (EDayView *day_view, if (event->canvas_item) gtk_object_destroy (GTK_OBJECT (event->canvas_item)); - e_cal_model_free_component_data (event->comp_data); + g_object_unref (event->comp_data); } g_array_set_size (array, 0); @@ -4506,7 +4506,7 @@ e_day_view_add_event (ECalComponent *comp, e_calendar_view_get_timezone (E_CALENDAR_VIEW (add_event_data->day_view))); if (add_event_data->comp_data) { - event.comp_data = e_cal_model_copy_component_data (add_event_data->comp_data); + event.comp_data = g_object_ref (add_event_data->comp_data); } else { event.comp_data = g_object_new (E_TYPE_CAL_MODEL_COMPONENT, NULL); |