diff options
Diffstat (limited to 'calendar/cal-util/cal-component.c')
-rw-r--r-- | calendar/cal-util/cal-component.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/calendar/cal-util/cal-component.c b/calendar/cal-util/cal-component.c index 2669dc5562..86b949dfed 100644 --- a/calendar/cal-util/cal-component.c +++ b/calendar/cal-util/cal-component.c @@ -4337,6 +4337,11 @@ cal_component_alarm_new (void) g_free (new_auid); alarm->action = NULL; + alarm->attach = NULL; + alarm->description.prop = NULL; + alarm->description.altrep_param = NULL; + alarm->duration = NULL; + alarm->repeat = NULL; alarm->trigger = NULL; return alarm; @@ -4532,14 +4537,14 @@ cal_component_alarm_get_attach (CalComponentAlarm *alarm, struct icalattachtype } /** - * cal_copmonent_alarm_set_attach: + * cal_component_alarm_set_attach: * @alarm: An alarm. * @attach: Attachment property or NULL to remove an existing property. * * Sets the attachment property of an alarm. **/ void -cal_copmonent_alarm_set_attach (CalComponentAlarm *alarm, struct icalattachtype *attach) +cal_component_alarm_set_attach (CalComponentAlarm *alarm, struct icalattachtype *attach) { g_return_if_fail (alarm != NULL); |