aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/cal-component.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/cal-util/cal-component.c')
-rw-r--r--calendar/cal-util/cal-component.c6
1 files changed, 3 insertions, 3 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;