diff options
Diffstat (limited to 'calendar/conduits')
-rw-r--r-- | calendar/conduits/calendar/calendar-conduit.c | 4 | ||||
-rw-r--r-- | calendar/conduits/todo/todo-conduit.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c index f86e753232..6dfe288f34 100644 --- a/calendar/conduits/calendar/calendar-conduit.c +++ b/calendar/conduits/calendar/calendar-conduit.c @@ -1139,14 +1139,14 @@ static void update_comp (GnomePilotConduitSyncAbs *conduit, CalComponent *comp, ECalConduitContext *ctxt) { - gboolean success; + CalClientResult success; g_return_if_fail (conduit != NULL); g_return_if_fail (comp != NULL); success = cal_client_update_object (ctxt->client, comp); - if (!success) + if (success != CAL_CLIENT_RESULT_SUCCESS) WARN (_("Error while communicating with calendar server")); } diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c index a460bd6ebc..42c8b3c865 100644 --- a/calendar/conduits/todo/todo-conduit.c +++ b/calendar/conduits/todo/todo-conduit.c @@ -824,14 +824,14 @@ static void update_comp (GnomePilotConduitSyncAbs *conduit, CalComponent *comp, EToDoConduitContext *ctxt) { - gboolean success; + CalClientResult success; g_return_if_fail (conduit != NULL); g_return_if_fail (comp != NULL); success = cal_client_update_object (ctxt->client, comp); - if (!success) + if (success != CAL_CLIENT_RESULT_SUCCESS) WARN (_("Error while communicating with calendar server")); } |