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-cal-model.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-cal-model.c')
-rw-r--r-- | calendar/gui/e-cal-model.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c index 015aa61cec..58ca63e1cf 100644 --- a/calendar/gui/e-cal-model.c +++ b/calendar/gui/e-cal-model.c @@ -291,7 +291,7 @@ cal_model_finalize (GObject *object) g_warning ("comp_data is null\n"); continue; } - e_cal_model_free_component_data (comp_data); + g_object_unref (comp_data); } g_ptr_array_free (priv->objects, FALSE); @@ -2764,28 +2764,6 @@ e_cal_model_component_get_type (void) } /** - * e_cal_model_copy_component_data - */ -ECalModelComponent * -e_cal_model_copy_component_data (ECalModelComponent *comp_data) -{ - g_return_val_if_fail (comp_data != NULL, NULL); - - return g_object_ref (comp_data); -} - -/** - * e_cal_model_free_component_data - */ -void -e_cal_model_free_component_data (ECalModelComponent *comp_data) -{ - g_return_if_fail (comp_data != NULL); - - g_object_unref (comp_data); -} - -/** * e_cal_model_generate_instances * * cb function is not called with cb_data, but with ECalModelGenerateInstancesData which contains cb_data |