aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/conduits
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2002-05-17 00:41:35 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2002-05-17 00:41:35 +0800
commit48140af35f90d7ec4f994821a5265b1fe0159cfa (patch)
treedd2bde3e78c4fd5db7a97dbb754b59edf66bbb4e /calendar/conduits
parentaad3ac6ddd62d5cd1b3421f5bf45ccdcf1b0ed35 (diff)
downloadgsoc2013-evolution-48140af35f90d7ec4f994821a5265b1fe0159cfa.tar.gz
gsoc2013-evolution-48140af35f90d7ec4f994821a5265b1fe0159cfa.tar.zst
gsoc2013-evolution-48140af35f90d7ec4f994821a5265b1fe0159cfa.zip
added PermissionDenied exception and make it be raised in open,
2002-05-16 Rodrigo Moya <rodrigo@ximian.com> * idl/evolution-calendar.idl: added PermissionDenied exception and make it be raised in open, updateObjects and removeObject. * pcs/cal-backend.h: added CAL_BACKEND_OPEN_PERMISSION_DENIED to CalBackendOpenStatus enumeration, added CalBackendResult enumeration. * pcs/cal.c: * pcs/cal-backend.c: * pcs/cal-backend-file.c: adapted to changes in update_objects and remove_object methods. * cal-client/cal-client.[ch]: added CalClientResult enumeration. (cal_client_update_object, cal_client_update_objects, cal_client_remove_object): changed to return a CalClientResult. * conduits/calendar/calendar-conduit.c: * calendar/conduits/todo/todo-conduit.c: * importers/icalendar-importer.c: * gui/dialogs/comp-editor.c: * gui/calendar-model.c: * gui/e-calendar-table.c: * gui/e-day-view.c: * gui/e-itip-control.c: * gui/e-week-view.c: * gui/comp-util.c: * gui/e-tasks.c: * gui/tasks-migrate.c: adapted to changes in cal_client_update_object(s) and cal_client_remove_object. svn path=/trunk/; revision=16932
Diffstat (limited to 'calendar/conduits')
-rw-r--r--calendar/conduits/calendar/calendar-conduit.c4
-rw-r--r--calendar/conduits/todo/todo-conduit.c4
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"));
}
l to build with clang over to instead alwayslinimon2012-10-101-0/+1 * - Update omniORB to 4.1.6 and py-omniorb to 3.6sem2012-02-162-3/+4 * Fix build on FreeBSD 10.kwm2011-10-291-8/+19 * - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-241-2/+1 * -remove MD5ohauer2011-07-031-1/+0 * - Update omniORB to 4.1.4 and py-omniorb to 3.4sem2009-11-264-29/+19 * - Switch SourceForge ports to the new File Release System: categories startin...amdmi32009-08-221-2/+1 * - Update to 4.1.3sem2008-10-034-10/+10 * Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.rafan2008-08-211-1/+0 * - Update to 4.1.2sem2008-06-213-6/+6 * - Update to 4.1.1sem2007-12-174-9/+22 * Retire NO_FILTER_SHLIBS now that it no longer serves a purposekris2007-01-301-1/+0 * - Update to 4.1.0sem2006-12-215-60/+82 * - Precompile python modules during install to satisfy pointyhatsem2006-02-132-4/+25 * - Remove USE_REINPLACE from my portssem2006-02-083-28/+21 * - Yield to a total SHAtification.sem2005-11-111-0/+1 * - Unbreak on -CURRENT (minor() macro problem)sem2005-11-082-9/+33 * BROKEN on 7.0: Does not compilekris2005-10-291-1/+7 * - Fix build on CURRENTsem2005-08-301-1/+2 * - Fix libdata/pkgconfig policysem2005-06-101-1/+0 * - Update to 4.0.6sem2005-06-094-18/+20 * At Kris's request, back out the MACHINE_ARCH spelling correction untilobrien2005-04-121-1/+1 * Assist getting more ports working on AMD64 by obeying theobrien2005-04-111-1/+1 * - Install a sample configuration filesem2005-02-132-0/+4 * - add USE_GNOME=pkgconfig to fix 'extra files' problemsem2005-01-26