diff options
author | JP Rosevear <jpr@ximian.com> | 2004-01-28 02:52:28 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-01-28 02:52:28 +0800 |
commit | d4ecd07e93c8bb612c576102f1536426364577ca (patch) | |
tree | ba0f22b00ab48f5a880c78b2a4e830d3098404cc /calendar/gui | |
parent | ae6b08e12d0b20c0ad9a95fb648511e1cbb959f3 (diff) | |
download | gsoc2013-evolution-d4ecd07e93c8bb612c576102f1536426364577ca.tar.gz gsoc2013-evolution-d4ecd07e93c8bb612c576102f1536426364577ca.tar.zst gsoc2013-evolution-d4ecd07e93c8bb612c576102f1536426364577ca.zip |
use e_cal_remove
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
svn path=/trunk/; revision=24469
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/calendar-component.c | 2 | ||||
-rw-r--r-- | calendar/gui/tasks-component.c | 2 |
2 files changed, 2 insertions, 2 deletions
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), |