From 34e6621ac12bc290cea08041e25b07f0ac3c51c9 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Tue, 23 Jan 2001 20:58:23 +0000 Subject: libical import cleanup 2001-01-23 JP Rosevear * libical import cleanup svn path=/trunk/; revision=7753 --- calendar/cal-util/cal-component.c | 6 +++--- calendar/cal-util/cal-recur.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'calendar/cal-util') diff --git a/calendar/cal-util/cal-component.c b/calendar/cal-util/cal-component.c index 7b61aab7f5..100af1d77e 100644 --- a/calendar/cal-util/cal-component.c +++ b/calendar/cal-util/cal-component.c @@ -795,7 +795,7 @@ ensure_mandatory_properties (CalComponent *comp) struct icaltimetype t; tim = time (NULL); - t = icaltime_from_timet (tim, FALSE, TRUE); + t = icaltime_from_timet (tim, FALSE); priv->dtstamp = icalproperty_new_dtstamp (t); icalcomponent_add_property (priv->icalcomp, priv->dtstamp); @@ -3807,7 +3807,7 @@ void cal_component_alarm_get_trigger (CalComponentAlarm *alarm, CalAlarmTrigger *trigger) { icalparameter *param; - union icaltriggertype t; + struct icaltriggertype t; gboolean relative; g_return_if_fail (alarm != NULL); @@ -3890,7 +3890,7 @@ cal_component_alarm_get_trigger (CalComponentAlarm *alarm, CalAlarmTrigger *trig void cal_component_alarm_set_trigger (CalComponentAlarm *alarm, CalAlarmTrigger trigger) { - union icaltriggertype t; + struct icaltriggertype t; icalparameter *param; icalparameter_value value_type; icalparameter_related related; diff --git a/calendar/cal-util/cal-recur.c b/calendar/cal-util/cal-recur.c index 9b4a7f9ceb..0b4f114484 100644 --- a/calendar/cal-util/cal-recur.c +++ b/calendar/cal-util/cal-recur.c @@ -3733,7 +3733,7 @@ cal_recur_set_rule_end_date (icalproperty *prop, struct icaltimetype icaltime; const char *end_date_string, *xname; - icaltime = icaltime_from_timet (end_date, FALSE, TRUE); + icaltime = icaltime_from_timet (end_date, FALSE); value = icalvalue_new_datetime (icaltime); end_date_string = icalvalue_as_ical_string (value); icalvalue_free (value); -- cgit