diff options
author | JP Rosevear <jpr@ximian.com> | 2001-02-07 04:15:46 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-02-07 04:15:46 +0800 |
commit | 7cf0ca5bfd13e213e41c361af36c9008df19ac84 (patch) | |
tree | 2f50a8951a23e1a88d9836b14c9a5e2c5d312345 /calendar/cal-util | |
parent | 9ff97780866a2164fa0cfdc432fe7f65acb45e29 (diff) | |
download | gsoc2013-evolution-7cf0ca5bfd13e213e41c361af36c9008df19ac84.tar gsoc2013-evolution-7cf0ca5bfd13e213e41c361af36c9008df19ac84.tar.gz gsoc2013-evolution-7cf0ca5bfd13e213e41c361af36c9008df19ac84.tar.bz2 gsoc2013-evolution-7cf0ca5bfd13e213e41c361af36c9008df19ac84.tar.lz gsoc2013-evolution-7cf0ca5bfd13e213e41c361af36c9008df19ac84.tar.xz gsoc2013-evolution-7cf0ca5bfd13e213e41c361af36c9008df19ac84.tar.zst gsoc2013-evolution-7cf0ca5bfd13e213e41c361af36c9008df19ac84.zip |
Match new append_alarm signature (reminder_to_comp_object): only add
2001-02-06 JP Rosevear <jpr@ximian.com>
* 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
Diffstat (limited to 'calendar/cal-util')
-rw-r--r-- | calendar/cal-util/cal-component.c | 10 | ||||
-rw-r--r-- | calendar/cal-util/cal-component.h | 1 |
2 files changed, 11 insertions, 0 deletions
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. diff --git a/calendar/cal-util/cal-component.h b/calendar/cal-util/cal-component.h index b912c04e9e..6f3bb1c8f3 100644 --- a/calendar/cal-util/cal-component.h +++ b/calendar/cal-util/cal-component.h @@ -338,6 +338,7 @@ void cal_component_alarms_free (CalComponentAlarms *alarms); /* CalComponentAlarms */ CalComponentAlarm *cal_component_alarm_new (void); +CalComponentAlarm *cal_component_alarm_clone (CalComponentAlarm *alarm); const char *cal_component_alarm_get_uid (CalComponentAlarm *alarm); |