diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-06-05 04:53:10 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:26 +0800 |
commit | e7954c3f251aabbf95d099159709c8c66dfedc44 (patch) | |
tree | 08b6fbba02f05aa622cd54f45da223ef43066bb3 /calendar/gui/itip-utils.c | |
parent | dcaf6c52082765c2586a7d35b56b3dc417aa988d (diff) | |
download | gsoc2013-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.c | 26 |
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); |