aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/calendar-component.c2
-rw-r--r--calendar/gui/tasks-component.c2
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),