From 5cda225087bfdc66e19edb703689e8af655e171c Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Tue, 1 Apr 2003 16:48:58 +0000 Subject: Fix for #17231 (Evo portion) 2003-04-01 JP Rosevear Fix for #17231 (Evo portion) * conduits/todo/todo-conduit.c (comp_from_remote_record): test for secret flag properly * conduits/calendar/calendar-conduit.c (comp_from_remote_record): ditto svn path=/trunk/; revision=20612 --- calendar/conduits/calendar/calendar-conduit.c | 2 +- calendar/conduits/todo/todo-conduit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'calendar/conduits') diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c index 80ef758edd..5358605826 100644 --- a/calendar/conduits/calendar/calendar-conduit.c +++ b/calendar/conduits/calendar/calendar-conduit.c @@ -1264,7 +1264,7 @@ comp_from_remote_record (GnomePilotConduitSyncAbs *conduit, cal_component_set_transparency (comp, CAL_COMPONENT_TRANSP_NONE); - if (remote->attr & dlpRecAttrSecret) + if (remote->secret) cal_component_set_classification (comp, CAL_COMPONENT_CLASS_PRIVATE); else cal_component_set_classification (comp, CAL_COMPONENT_CLASS_PUBLIC); diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c index c61f79f7d0..a07ed35706 100644 --- a/calendar/conduits/todo/todo-conduit.c +++ b/calendar/conduits/todo/todo-conduit.c @@ -805,7 +805,7 @@ comp_from_remote_record (GnomePilotConduitSyncAbs *conduit, cal_component_set_priority (comp, &priority); cal_component_set_transparency (comp, CAL_COMPONENT_TRANSP_NONE); - if (remote->attr & dlpRecAttrSecret) + if (remote->secret) cal_component_set_classification (comp, CAL_COMPONENT_CLASS_PRIVATE); else cal_component_set_classification (comp, CAL_COMPONENT_CLASS_PUBLIC); -- cgit v1.2.3