diff options
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/calendar-component.c | 2 | ||||
-rw-r--r-- | calendar/gui/tasks-component.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 73fc01bcf8..e5f1a431ab 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2004-01-27 JP Rosevear <jpr@ximian.com> + + * gui/calendar-component.c (delete_calendar_cb): use e_cal_remove + + * gui/tasks-component.c (delete_task_list_cb): ditto + 2004-01-27 Rodrigo Moya <rodrigo@ximian.com> Fixes #53276 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), diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c index c7cb7d81b0..1ba79ba727 100644 --- a/calendar/gui/tasks-component.c +++ b/calendar/gui/tasks-component.c @@ -312,7 +312,7 @@ delete_task_list_cb (GtkWidget *widget, TasksComponent *comp) 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), |