aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-01-24 04:58:23 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-01-24 04:58:23 +0800
commit34e6621ac12bc290cea08041e25b07f0ac3c51c9 (patch)
tree4b2326cfec7cfa6737b014f3f9436036f7df1d4d /calendar/cal-util
parent5d7f815b3eede63ce843c7de7a3d2302c6b93586 (diff)
downloadgsoc2013-evolution-34e6621ac12bc290cea08041e25b07f0ac3c51c9.tar.gz
gsoc2013-evolution-34e6621ac12bc290cea08041e25b07f0ac3c51c9.tar.zst
gsoc2013-evolution-34e6621ac12bc290cea08041e25b07f0ac3c51c9.zip
libical import cleanup
2001-01-23 JP Rosevear <jpr@ximian.com> * libical import cleanup svn path=/trunk/; revision=7753
Diffstat (limited to 'calendar/cal-util')
-rw-r--r--calendar/cal-util/cal-component.c6
-rw-r--r--calendar/cal-util/cal-recur.c2
2 files changed, 4 insertions, 4 deletions
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);