aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/itip-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-01-31 00:32:55 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:29 +0800
commitdbc22f9de50142b8339fa843575a5e15bd3fe8ff (patch)
tree6daf0c4fdc32fcde76c4529cbc6fdba4121c7242 /calendar/gui/itip-utils.c
parent726ac1a8bb57a7015d72022784ea7dec135ae1d5 (diff)
downloadgsoc2013-evolution-dbc22f9de50142b8339fa843575a5e15bd3fe8ff.tar
gsoc2013-evolution-dbc22f9de50142b8339fa843575a5e15bd3fe8ff.tar.gz
gsoc2013-evolution-dbc22f9de50142b8339fa843575a5e15bd3fe8ff.tar.bz2
gsoc2013-evolution-dbc22f9de50142b8339fa843575a5e15bd3fe8ff.tar.lz
gsoc2013-evolution-dbc22f9de50142b8339fa843575a5e15bd3fe8ff.tar.xz
gsoc2013-evolution-dbc22f9de50142b8339fa843575a5e15bd3fe8ff.tar.zst
gsoc2013-evolution-dbc22f9de50142b8339fa843575a5e15bd3fe8ff.zip
More whitespace cleanup.
Diffstat (limited to 'calendar/gui/itip-utils.c')
-rw-r--r--calendar/gui/itip-utils.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 7b50de9cf1..0981b1c164 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -803,23 +803,23 @@ comp_description (ECalComponent *comp,
gboolean use_24_hour_format)
{
gchar *description;
- ECalComponentDateTime dt;
- gchar *start = NULL, *end = NULL;
+ ECalComponentDateTime dt;
+ gchar *start = NULL, *end = NULL;
- switch (e_cal_component_get_vtype (comp)) {
- case E_CAL_COMPONENT_EVENT:
+ switch (e_cal_component_get_vtype (comp)) {
+ case E_CAL_COMPONENT_EVENT:
description = g_strdup (_("Event information"));
break;
- case E_CAL_COMPONENT_TODO:
+ case E_CAL_COMPONENT_TODO:
description = g_strdup (_("Task information"));
break;
- case E_CAL_COMPONENT_JOURNAL:
+ case E_CAL_COMPONENT_JOURNAL:
description = g_strdup (_("Memo information"));
break;
- case E_CAL_COMPONENT_FREEBUSY:
- e_cal_component_get_dtstart (comp, &dt);
- if (dt.value)
- start = get_label (dt.value, use_24_hour_format);
+ case E_CAL_COMPONENT_FREEBUSY:
+ e_cal_component_get_dtstart (comp, &dt);
+ if (dt.value)
+ start = get_label (dt.value, use_24_hour_format);
e_cal_component_free_datetime (&dt);
e_cal_component_get_dtend (comp, &dt);
@@ -827,19 +827,19 @@ comp_description (ECalComponent *comp,
end = get_label (dt.value, use_24_hour_format);
e_cal_component_free_datetime (&dt);
- if (start != NULL && end != NULL)
+ if (start != NULL && end != NULL)
description = g_strdup_printf (
_("Free/Busy information (%s to %s)"),
start, end);
- else
+ else
description = g_strdup (_("Free/Busy information"));
- g_free (start);
- g_free (end);
+ g_free (start);
+ g_free (end);
break;
- default:
+ default:
description = g_strdup (_("iCalendar information"));
break;
- }
+ }
return description;
}