From 4de1f796a496703b01bcc0a8245030e4fbc378b8 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Mon, 7 Aug 2000 21:38:28 +0000 Subject: Big sync. Disable calendar compilation for a few hours - Federico 2000-08-07 Federico Mena Quintero * cal-util/cal-component.c (cal_component_get_as_string): Doh, libical owns the string's memory, so do not free it. * cal-client/client-test.c (create_client): Connect to the destroy signal of the client here. * cal-client/test.ics: New test file, modified from Eric Busboom's test file from RFC 2445. 2000-08-05 Federico Mena Quintero * cal-client/client-test.c (dump_component): This was gone for some reason. (main): Load a new test file. 2000-08-04 Federico Mena Quintero * cal-util/cal-component.c (cal_component_commit_sequence): New function to commit changes to the SEQUENCE property. (cal_component_get_as_string): Ensure that the sequence has been committed. * cal-client/cal-client.c (cal_client_get_object): Use CalComponent instead of the old iCalObject. (cal_client_update_object): Use iCalObject. Commit the SEQUENCE property before stringifying the object and piping it over to the Wombat. svn path=/trunk/; revision=4585 --- calendar/pcs/Makefile.am | 2 -- calendar/pcs/cal-factory.c | 1 + calendar/pcs/cal.c | 4 ++++ 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'calendar/pcs') diff --git a/calendar/pcs/Makefile.am b/calendar/pcs/Makefile.am index 320e3f0a14..b435b90229 100644 --- a/calendar/pcs/Makefile.am +++ b/calendar/pcs/Makefile.am @@ -31,8 +31,6 @@ libpcs_a_SOURCES = \ cal-backend.h \ cal-backend-file.c \ cal-backend-file.h \ - cal-backend-imc.c \ - cal-backend-imc.h \ cal-common.h \ cal-factory.c \ cal-factory.h \ diff --git a/calendar/pcs/cal-factory.c b/calendar/pcs/cal-factory.c index 9e663690db..ab19ccb8b3 100644 --- a/calendar/pcs/cal-factory.c +++ b/calendar/pcs/cal-factory.c @@ -21,6 +21,7 @@ #include #include +#include #include #include "cal.h" #include "cal-backend.h" diff --git a/calendar/pcs/cal.c b/calendar/pcs/cal.c index cd94bb3a80..36791fefcd 100644 --- a/calendar/pcs/cal.c +++ b/calendar/pcs/cal.c @@ -345,6 +345,7 @@ Cal_get_events_in_range (PortableServer_Servant servant, return seq; } +#if 0 /* Translates an enum AlarmType to its CORBA representation */ static Evolution_Calendar_AlarmType corba_alarm_type (enum AlarmType type) @@ -367,6 +368,7 @@ corba_alarm_type (enum AlarmType type) return Evolution_Calendar_DISPLAY; } } +#endif /* Builds a CORBA sequence of alarm instances from a CalAlarmInstance list. */ static Evolution_Calendar_CalAlarmInstanceSeq * @@ -393,7 +395,9 @@ build_alarm_instance_seq (GList *alarms) corba_ai = &seq->_buffer[i]; corba_ai->uid = CORBA_string_dup (ai->uid); +#if 0 corba_ai->type = corba_alarm_type (ai->type); +#endif corba_ai->trigger = ai->trigger; corba_ai->occur = ai->occur; } -- cgit v1.2.3