add_alarm


Description:

public void add_alarm (CalComponentAlarm alarm)

Adds an alarm subcomponent to a calendar component.

You should have created the alarm by using e_cal_component_alarm_new; it is invalid to use a CalComponentAlarm structure that came from e_cal_component_get_alarm. After adding the alarm, the alarm structure is no longer valid because the internal structures may change and you should get rid of it by using free.

Parameters:

alarm

An alarm.