aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util
diff options
context:
space:
mode:
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);