From bd5c704df902461748d07df496897669fc626e45 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 24 Jan 2010 22:12:54 -0500 Subject: Remove a couple silly ECalModel functions. --- calendar/gui/e-cal-model.c | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'calendar/gui/e-cal-model.c') 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); @@ -2763,28 +2763,6 @@ e_cal_model_component_get_type (void) return e_cal_model_component_type; } -/** - * 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 * -- cgit v1.2.3