aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/itip-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-09 01:24:42 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:11 +0800
commit54da4fc09cf226fdb59b9f0c70555e2e57dc1f91 (patch)
treec62c9ac6d08670dffc400ff00117508512ce4f8b /calendar/gui/itip-utils.c
parentfe20f70779fb486169a0735499d24e001ffa0cab (diff)
downloadgsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.gz
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.bz2
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.lz
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.xz
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.zst
gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.zip
Coding style cleanups.
Diffstat (limited to 'calendar/gui/itip-utils.c')
-rw-r--r--calendar/gui/itip-utils.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 8c7c72f2f6..cfc177c07d 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -317,7 +317,7 @@ itip_get_comp_attendee (ECalComponent *comp,
address = NULL;
}
- for (it = e_list_get_iterator ((EList *)al);
+ for (it = e_list_get_iterator ((EList *) al);
e_iterator_is_valid (it);
e_iterator_next (it)) {
a = (EAccount *) e_iterator_get (it);
@@ -420,7 +420,7 @@ foreach_tzid_callback (icalparameter *param, gpointer data)
icalcomponent_add_component (
tz_data->icomp, icalcomponent_new_clone (vtimezone_comp));
- g_hash_table_insert (tz_data->tzids, (gchar *)tzid, (gchar *)tzid);
+ g_hash_table_insert (tz_data->tzids, (gchar *) tzid, (gchar *) tzid);
}
static icalcomponent *
@@ -1088,10 +1088,10 @@ comp_sentby (ECalComponent *comp, ECal *client)
e_cal_component_set_organizer (comp, &organizer);
- g_free ((gchar *)organizer.value);
- g_free ((gchar *)organizer.sentby);
- g_free ((gchar *)organizer.cn);
- g_free ((gchar *)organizer.language);
+ g_free ((gchar *) organizer.value);
+ g_free ((gchar *) organizer.sentby);
+ g_free ((gchar *) organizer.cn);
+ g_free ((gchar *) organizer.language);
}
}
static ECalComponent *
@@ -1277,13 +1277,13 @@ comp_compliant (ECalComponentItipMethod method,
ECalComponentAlarm *alarm;
ECalComponentAlarmAction action = E_CAL_COMPONENT_ALARM_UNKNOWN;
- alarm = e_cal_component_get_alarm (clone, (const gchar *)l->data);
+ alarm = e_cal_component_get_alarm (clone, (const gchar *) l->data);
if (alarm) {
e_cal_component_alarm_get_action (alarm, &action);
e_cal_component_alarm_free (alarm);
if (action == E_CAL_COMPONENT_ALARM_PROCEDURE)
- e_cal_component_remove_alarm (clone, (const gchar *)l->data);
+ e_cal_component_remove_alarm (clone, (const gchar *) l->data);
}
}
@@ -1390,10 +1390,10 @@ find_enabled_account (EAccountList *accounts,
if (!id_address)
return NULL;
- for (it = e_list_get_iterator ((EList *)accounts);
+ for (it = e_list_get_iterator ((EList *) accounts);
e_iterator_is_valid (it);
e_iterator_next (it)) {
- account = (EAccount *)e_iterator_get (it);
+ account = (EAccount *) e_iterator_get (it);
if (account
&& account->enabled
@@ -1666,7 +1666,7 @@ reply_to_calendar_comp (ECalComponentItipMethod method,
e_cal_component_get_description_list (comp, &text_list);
if (text_list) {
- ECalComponentText text = *((ECalComponentText *)text_list->data);
+ ECalComponentText text = *((ECalComponentText *) text_list->data);
if (text.value)
description = text.value;
else