[evolution-ews] Applay code style according to GNU format
- From: Pavel Ocheretny <pocheretny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Applay code style according to GNU format
- Date: Mon, 30 May 2011 18:35:50 +0000 (UTC)
commit 355ec335b79176c85397b1ab2561749d8e865a4d
Author: Pavel Ocheretny <pocheretny src gnome org>
Date: Mon May 30 15:36:58 2011 +0300
Applay code style according to GNU format
src/calendar/e-cal-backend-ews.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index 27a1f76..3681496 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -1505,7 +1505,7 @@ e_cal_backend_ews_receive_objects (ECalBackend *backend, EDataCal *cal, EServerM
/* make sure we're not offline */
if (priv->mode == CAL_MODE_LOCAL) {
- g_propagate_error (&error, EDC_ERROR(RepositoryOffline));
+ g_propagate_error (&error, EDC_ERROR (RepositoryOffline));
goto exit;
}
@@ -1513,18 +1513,18 @@ e_cal_backend_ews_receive_objects (ECalBackend *backend, EDataCal *cal, EServerM
/* make sure data was parsed properly */
if (!icalcomp) {
- g_propagate_error (&error, EDC_ERROR(InvalidObject));
+ g_propagate_error (&error, EDC_ERROR (InvalidObject));
goto exit;
}
/* make sure ical data we parse is actually an vcal component */
- if (icalcomponent_isa(icalcomp) != ICAL_VCALENDAR_COMPONENT) {
+ if (icalcomponent_isa (icalcomp) != ICAL_VCALENDAR_COMPONENT) {
icalcomponent_free (icalcomp);
- g_propagate_error (&error, EDC_ERROR(InvalidObject));
+ g_propagate_error (&error, EDC_ERROR (InvalidObject));
goto exit;
}
- kind = e_cal_backend_get_kind (E_CAL_BACKEND(backend));
+ kind = e_cal_backend_get_kind (E_CAL_BACKEND (backend));
method = icalcomponent_get_method (icalcomp);
subcomp = icalcomponent_get_first_component (icalcomp, kind);
@@ -1532,9 +1532,9 @@ e_cal_backend_ews_receive_objects (ECalBackend *backend, EDataCal *cal, EServerM
ECalComponent *comp = e_cal_component_new ();
const char *response_type;
/* duplicate the ical component */
- e_cal_component_set_icalcomponent (comp, icalcomponent_new_clone(subcomp));
+ e_cal_component_set_icalcomponent (comp, icalcomponent_new_clone (subcomp));
- response_type = e_ews_get_current_user_meeting_reponse (e_cal_component_get_icalcomponent (comp),priv->user_email);
+ response_type = e_ews_get_current_user_meeting_reponse (e_cal_component_get_icalcomponent (comp), priv->user_email);
switch (method) {
case ICAL_METHOD_REQUEST:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]