[evolution-data-server] Bug #599741 - Cannot accept meeting request
- From: Bharath Acharya <abharath src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug #599741 - Cannot accept meeting request
- Date: Wed, 29 Sep 2010 05:10:15 +0000 (UTC)
commit c5a17dcea96fcd9bc13eebc968c0c7dae5fe88d6
Author: Vibha Yadav <yvibha novell com>
Date: Wed Sep 29 10:38:44 2010 +0530
Bug #599741 - Cannot accept meeting request
In case of success scenario too receive_object was propagating error as
EDC_ERROR_FAILED_STATUS.
.../backends/groupwise/e-cal-backend-groupwise.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/calendar/backends/groupwise/e-cal-backend-groupwise.c b/calendar/backends/groupwise/e-cal-backend-groupwise.c
index 7b04e04..a7b7c0e 100644
--- a/calendar/backends/groupwise/e-cal-backend-groupwise.c
+++ b/calendar/backends/groupwise/e-cal-backend-groupwise.c
@@ -2585,7 +2585,9 @@ receive_object (ECalBackendGroupwise *cbgw, EDataCal *cal, icalcomponent *icalco
}
g_object_unref (comp);
- if (status == E_GW_CONNECTION_STATUS_INVALID_OBJECT)
+ if (status == E_GW_CONNECTION_STATUS_OK)
+ return;
+ else if (status == E_GW_CONNECTION_STATUS_INVALID_OBJECT)
g_propagate_error (perror, EDC_ERROR (InvalidObject));
else if (status == E_GW_CONNECTION_STATUS_OVER_QUOTA)
g_propagate_error (perror, EDC_ERROR (PermissionDenied));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]