diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-01-31 00:32:55 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-01-31 00:33:28 +0800 |
commit | 0109aa3a92b484ebb85c6481e5a8e39819b1f011 (patch) | |
tree | e7837b0a50517fc160a7b4d6d47f5c78a5505523 /calendar/gui/itip-utils.c | |
parent | f25d21294158625477c529a679fd2f27fffb562c (diff) | |
download | gsoc2013-evolution-0109aa3a92b484ebb85c6481e5a8e39819b1f011.tar gsoc2013-evolution-0109aa3a92b484ebb85c6481e5a8e39819b1f011.tar.gz gsoc2013-evolution-0109aa3a92b484ebb85c6481e5a8e39819b1f011.tar.bz2 gsoc2013-evolution-0109aa3a92b484ebb85c6481e5a8e39819b1f011.tar.lz gsoc2013-evolution-0109aa3a92b484ebb85c6481e5a8e39819b1f011.tar.xz gsoc2013-evolution-0109aa3a92b484ebb85c6481e5a8e39819b1f011.tar.zst gsoc2013-evolution-0109aa3a92b484ebb85c6481e5a8e39819b1f011.zip |
More whitespace cleanup.
Diffstat (limited to 'calendar/gui/itip-utils.c')
-rw-r--r-- | calendar/gui/itip-utils.c | 32 |
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; } |