aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/itip-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-06-05 04:53:10 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:26 +0800
commite7954c3f251aabbf95d099159709c8c66dfedc44 (patch)
tree08b6fbba02f05aa622cd54f45da223ef43066bb3 /calendar/gui/itip-utils.c
parentdcaf6c52082765c2586a7d35b56b3dc417aa988d (diff)
downloadgsoc2013-evolution-e7954c3f251aabbf95d099159709c8c66dfedc44.tar.gz
gsoc2013-evolution-e7954c3f251aabbf95d099159709c8c66dfedc44.tar.zst
gsoc2013-evolution-e7954c3f251aabbf95d099159709c8c66dfedc44.zip
Coding style and whitespace cleanups.
Diffstat (limited to 'calendar/gui/itip-utils.c')
-rw-r--r--calendar/gui/itip-utils.c26
1 files changed, 17 insertions, 9 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 2bc566b771..4d56645b38 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -567,20 +567,26 @@ comp_to_list (ECalComponentItipMethod method,
for (l = attendees; l != NULL; l = l->next) {
ECalComponentAttendee *att = l->data;
- if (att->cutype != ICAL_CUTYPE_INDIVIDUAL && att->cutype != ICAL_CUTYPE_GROUP)
+ if (att->cutype != ICAL_CUTYPE_INDIVIDUAL &&
+ att->cutype != ICAL_CUTYPE_GROUP)
continue;
else if (users_has_attendee (users, att->value))
continue;
- else if (att->sentby && users_has_attendee (users, att->sentby))
+ else if (att->sentby &&
+ users_has_attendee (users, att->sentby))
continue;
- else if (!g_ascii_strcasecmp (att->value, organizer.value))
+ else if (!g_ascii_strcasecmp (
+ att->value, organizer.value))
continue;
- else if (att->sentby && !g_ascii_strcasecmp (att->sentby, organizer.sentby))
+ else if (att->sentby && !g_ascii_strcasecmp (
+ att->sentby, organizer.sentby))
continue;
- else if (!g_ascii_strcasecmp (itip_strip_mailto (att->value), sender))
+ else if (!g_ascii_strcasecmp (
+ itip_strip_mailto (att->value), sender))
continue;
- else if (att->status == ICAL_PARTSTAT_DELEGATED && (att->delto && *att->delto)
- && !(att->rsvp) && method == E_CAL_COMPONENT_METHOD_REQUEST)
+ else if (att->status == ICAL_PARTSTAT_DELEGATED &&
+ (att->delto && *att->delto) && !(att->rsvp) &&
+ method == E_CAL_COMPONENT_METHOD_REQUEST)
continue;
else if (only_attendees &&
!comp_editor_have_in_new_attendees_lst (
@@ -673,7 +679,8 @@ comp_to_list (ECalComponentItipMethod method,
for (l = attendees; l != NULL; l = l->next) {
ECalComponentAttendee *att = l->data;
- if (att->cutype != ICAL_CUTYPE_INDIVIDUAL && att->cutype != ICAL_CUTYPE_GROUP)
+ if (att->cutype != ICAL_CUTYPE_INDIVIDUAL &&
+ att->cutype != ICAL_CUTYPE_GROUP)
continue;
if (!g_ascii_strcasecmp (
@@ -1079,7 +1086,8 @@ comp_sentby (ECalComponent *comp, ECal *client)
}
}
- if (!itip_organizer_is_user (comp, client) && !itip_sentby_is_user (comp, client)) {
+ if (!itip_organizer_is_user (comp, client) &&
+ !itip_sentby_is_user (comp, client)) {
EAccount *a = e_get_default_account ();
organizer.value = g_strdup (organizer.value);