From d4ecd07e93c8bb612c576102f1536426364577ca Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Tue, 27 Jan 2004 18:52:28 +0000 Subject: use e_cal_remove 2004-01-27 JP Rosevear * gui/calendar-component.c (delete_calendar_cb): use e_cal_remove * gui/tasks-component.c (delete_task_list_cb): ditto svn path=/trunk/; revision=24469 --- calendar/gui/calendar-component.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui/calendar-component.c') diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index 7efcafc8ae..647a66f3a3 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -309,7 +309,7 @@ delete_calendar_cb (GtkWidget *widget, CalendarComponent *comp) cal = e_cal_model_get_client_for_uri (gnome_calendar_get_calendar_model (priv->calendar), uri); g_free (uri); if (cal) { - if (e_cal_remove_calendar (cal, NULL)) { + if (e_cal_remove (cal, NULL)) { if (e_source_selector_source_is_selected (E_SOURCE_SELECTOR (priv->source_selector), selected_source)) e_source_selector_unselect_source (E_SOURCE_SELECTOR (priv->source_selector), -- cgit