aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-component.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-01-28 02:52:28 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-01-28 02:52:28 +0800
commitd4ecd07e93c8bb612c576102f1536426364577ca (patch)
treeba0f22b00ab48f5a880c78b2a4e830d3098404cc /calendar/gui/calendar-component.c
parentae6b08e12d0b20c0ad9a95fb648511e1cbb959f3 (diff)
downloadgsoc2013-evolution-d4ecd07e93c8bb612c576102f1536426364577ca.tar
gsoc2013-evolution-d4ecd07e93c8bb612c576102f1536426364577ca.tar.gz
gsoc2013-evolution-d4ecd07e93c8bb612c576102f1536426364577ca.tar.bz2
gsoc2013-evolution-d4ecd07e93c8bb612c576102f1536426364577ca.tar.lz
gsoc2013-evolution-d4ecd07e93c8bb612c576102f1536426364577ca.tar.xz
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/calendar-component.c')
-rw-r--r--calendar/gui/calendar-component.c2
1 files changed, 1 insertions, 1 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),