From 7cf0ca5bfd13e213e41c361af36c9008df19ac84 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Tue, 6 Feb 2001 20:15:46 +0000 Subject: Match new append_alarm signature (reminder_to_comp_object): only add 2001-02-06 JP Rosevear * gui/event-editor.c (fill_reminder_widgets): Match new append_alarm signature (reminder_to_comp_object): only add alarms tagged as new, no longer delete all alarms first (append_reminder): the row data is now of type ReminderData, rename from append_alarm (reminder_add_cb): math new append_alarm signature (reminder_delete_cb): if the alarm existed before the dialog was loaded, delete it immediately from the cal component svn path=/trunk/; revision=8020 --- calendar/cal-util/cal-component.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'calendar/cal-util/cal-component.c') diff --git a/calendar/cal-util/cal-component.c b/calendar/cal-util/cal-component.c index de7a768a17..a485aa8fa7 100644 --- a/calendar/cal-util/cal-component.c +++ b/calendar/cal-util/cal-component.c @@ -3702,6 +3702,16 @@ cal_component_alarm_new (void) return alarm; } +CalComponentAlarm * +cal_component_alarm_clone (CalComponentAlarm *alarm) +{ + CalComponentAlarm *alarm; + + alarm = cal_component_alarm_new (); + + return alarm; +} + /** * cal_component_alarm_get_uid: * @alarm: An alarm subcomponent. -- cgit v1.2.3