aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/delete-comp.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@src.gnome.org>2003-11-07 13:52:24 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-11-07 13:52:24 +0800
commit200606f92810d3de322e5ee96f8326e1a656f8bb (patch)
treeda0dc27f5311128dcb6e7eb6400931e45743372e /calendar/gui/dialogs/delete-comp.c
parente5472b4cc9a4bb80b89437a16f8b77943ea35555 (diff)
downloadgsoc2013-evolution-200606f92810d3de322e5ee96f8326e1a656f8bb.tar.gz
gsoc2013-evolution-200606f92810d3de322e5ee96f8326e1a656f8bb.tar.zst
gsoc2013-evolution-200606f92810d3de322e5ee96f8326e1a656f8bb.zip
Various changes to merge in evolution-data-server reliance.
svn path=/trunk/; revision=23206
Diffstat (limited to 'calendar/gui/dialogs/delete-comp.c')
-rw-r--r--calendar/gui/dialogs/delete-comp.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/calendar/gui/dialogs/delete-comp.c b/calendar/gui/dialogs/delete-comp.c
index b29c6305ce..adaa8895fa 100644
--- a/calendar/gui/dialogs/delete-comp.c
+++ b/calendar/gui/dialogs/delete-comp.c
@@ -55,9 +55,9 @@
* unconditionally return TRUE.
**/
gboolean
-delete_component_dialog (CalComponent *comp,
+delete_component_dialog (ECalComponent *comp,
gboolean consider_as_untitled,
- int n_comps, CalComponentVType vtype,
+ int n_comps, ECalComponentVType vtype,
GtkWidget *widget)
{
char *str;
@@ -65,11 +65,11 @@ delete_component_dialog (CalComponent *comp,
int ret;
if (comp) {
- g_return_val_if_fail (IS_CAL_COMPONENT (comp), FALSE);
+ g_return_val_if_fail (E_IS_CAL_COMPONENT (comp), FALSE);
g_return_val_if_fail (n_comps == 1, FALSE);
} else {
g_return_val_if_fail (n_comps > 1, FALSE);
- g_return_val_if_fail (vtype != CAL_COMPONENT_NO_TYPE, FALSE);
+ g_return_val_if_fail (vtype != E_CAL_COMPONENT_NO_TYPE, FALSE);
}
g_return_val_if_fail (widget != NULL, FALSE);
@@ -79,19 +79,19 @@ delete_component_dialog (CalComponent *comp,
return TRUE;
if (comp) {
- CalComponentText summary;
+ ECalComponentText summary;
char *tmp;
- vtype = cal_component_get_vtype (comp);
+ vtype = e_cal_component_get_vtype (comp);
if (!consider_as_untitled) {
- cal_component_get_summary (comp, &summary);
+ e_cal_component_get_summary (comp, &summary);
tmp = g_strdup (summary.value);
} else
tmp = NULL;
switch (vtype) {
- case CAL_COMPONENT_EVENT:
+ case E_CAL_COMPONENT_EVENT:
if (tmp)
str = g_strdup_printf (_("Are you sure you want to delete "
"the appointment `%s'?"), tmp);
@@ -100,7 +100,7 @@ delete_component_dialog (CalComponent *comp,
"untitled appointment?"));
break;
- case CAL_COMPONENT_TODO:
+ case E_CAL_COMPONENT_TODO:
if (tmp)
str = g_strdup_printf (_("Are you sure you want to delete "
"the task `%s'?"), tmp);
@@ -109,7 +109,7 @@ delete_component_dialog (CalComponent *comp,
"untitled task?"));
break;
- case CAL_COMPONENT_JOURNAL:
+ case E_CAL_COMPONENT_JOURNAL:
if (tmp)
str = g_strdup_printf (_("Are you sure you want to delete "
"the journal entry `%s'?"), tmp);
@@ -128,17 +128,17 @@ delete_component_dialog (CalComponent *comp,
g_free (tmp);
} else {
switch (vtype) {
- case CAL_COMPONENT_EVENT:
+ case E_CAL_COMPONENT_EVENT:
str = g_strdup_printf (_("Are you sure you want to delete "
"%d appointments?"), n_comps);
break;
- case CAL_COMPONENT_TODO:
+ case E_CAL_COMPONENT_TODO:
str = g_strdup_printf (_("Are you sure you want to delete "
"%d tasks?"), n_comps);
break;
- case CAL_COMPONENT_JOURNAL:
+ case E_CAL_COMPONENT_JOURNAL:
str = g_strdup_printf (_("Are you sure you want to delete "
"%d journal entries?"), n_comps);
break;