From d73557c1db05b893da63049644368f039b74ff29 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 9 Aug 2001 00:26:01 +0000 Subject: Duuuh, set the alarm_copy on the component, not the original alarm. Fixes 2001-08-08 Federico Mena Quintero * gui/dialogs/alarm-page.c (alarm_page_fill_component): Duuuh, set the alarm_copy on the component, not the original alarm. Fixes bug #5214. svn path=/trunk/; revision=11806 --- calendar/ChangeLog | 6 ++++++ calendar/gui/dialogs/alarm-page.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index cd4841c411..be47d5db3d 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2001-08-08 Federico Mena Quintero + + * gui/dialogs/alarm-page.c (alarm_page_fill_component): Duuuh, set + the alarm_copy on the component, not the original alarm. Fixes + bug #5214. + 2001-08-08 JP Rosevear * gui/dialogs/meeting-page.c (set_attendees): set the attendees of diff --git a/calendar/gui/dialogs/alarm-page.c b/calendar/gui/dialogs/alarm-page.c index de33ff2d0d..fce8093149 100644 --- a/calendar/gui/dialogs/alarm-page.c +++ b/calendar/gui/dialogs/alarm-page.c @@ -503,7 +503,7 @@ alarm_page_fill_component (CompEditorPage *page, CalComponent *comp) */ alarm_copy = cal_component_alarm_clone (alarm); - cal_component_add_alarm (comp, alarm); + cal_component_add_alarm (comp, alarm_copy); cal_component_alarm_free (alarm_copy); } } -- cgit v1.2.3