From 38168a2e40c23292e6e9ac8472f06a754e7981e4 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 25 Jul 2000 22:01:22 +0000 Subject: New function. (scan_property): Handle the RDATE property. (scan_period): 2000-07-25 Federico Mena Quintero * cal-util/cal-component.c (cal_component_free_period_list): New function. (scan_property): Handle the RDATE property. (scan_period): Likewise. (free_icalcomponent): Likewise. (get_period_list): Likewise. (set_period_list): Likewise. (cal_component_get_rdate_list): Likewise. (cal_component_set_rdate_list): Likewise. (scan_text): Simplify a bit since we only handle the ALTREP parameter; there is no need to iterate over all parameters. (scan_datetime): Simplify; just handle the TZID parameter. (scan_summary): Simplify; just handle the ALTREP parameter. (cal_component_get_as_string): New function. * idl/evolution-calendar.idl (CalObjType): Removed the TYPE_OTHER; now we only expose the types of objects we know about. * cal-util/cal-util.h (CalObjType): Likewise. * cal-client/cal-client.c (cal_client_get_n_objects): Likewise. (cal_client_get_uids): Likewise. * conduits/calendar/calendar-conduit.c (get_calendar_objects): Likewise. (check_for_slow_setting): Likewise. * pcs/cal-backend-imc.c (count_objects): Likewise. (build_uids_list): Likewise. * pcs/cal.c (Cal_get_uids): Likewise. (Cal_get_n_objects): Likewise. svn path=/trunk/; revision=4336 --- calendar/conduits/calendar/calendar-conduit.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'calendar/conduits') diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c index c70ab17169..11fec181f6 100644 --- a/calendar/conduits/calendar/calendar-conduit.c +++ b/calendar/conduits/calendar/calendar-conduit.c @@ -182,8 +182,7 @@ get_calendar_objects(GnomePilotConduitStandardAbs *conduit, uids = cal_client_get_uids (ctxt->client, CALOBJ_TYPE_EVENT | /*CALOBJ_TYPE_TODO |*/ - CALOBJ_TYPE_JOURNAL | - CALOBJ_TYPE_OTHER); + CALOBJ_TYPE_JOURNAL); if (status != NULL) (*status) = TRUE; @@ -577,9 +576,7 @@ check_for_slow_setting (GnomePilotConduit *c, GCalConduitContext *ctxt) uids = cal_client_get_uids (ctxt->client, CALOBJ_TYPE_EVENT | /*CALOBJ_TYPE_TODO |*/ - CALOBJ_TYPE_JOURNAL | - CALOBJ_TYPE_OTHER); - + CALOBJ_TYPE_JOURNAL); entry_number = g_list_length (uids); -- cgit