diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2002-10-08 04:43:48 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2002-10-08 04:43:48 +0800 |
commit | acdd11bcb947d6a2074c0bbde531c44bfd44d26e (patch) | |
tree | 651c00443b6a39e9375aff2dd4ce1db69bf7b915 | |
parent | f5fbf29c4ed8c0f35d212e361f8f487d7b5f4b6d (diff) | |
download | gsoc2013-evolution-acdd11bcb947d6a2074c0bbde531c44bfd44d26e.tar.gz gsoc2013-evolution-acdd11bcb947d6a2074c0bbde531c44bfd44d26e.tar.zst gsoc2013-evolution-acdd11bcb947d6a2074c0bbde531c44bfd44d26e.zip |
Fixes #31774
2002-10-07 Rodrigo Moya <rodrigo@ximian.com>
Fixes #31774
* gui/dialogs/alarm-options.c (dalarm_widgets_to_alarm,
palarm_widgets_to_alarm): use correct pointer in loop.
svn path=/trunk/; revision=18346
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/dialogs/alarm-options.c | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index ab80082d15..e9f27ba527 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2002-10-07 Rodrigo Moya <rodrigo@ximian.com> + + Fixes #31774 + + * gui/dialogs/alarm-options.c (dalarm_widgets_to_alarm, + palarm_widgets_to_alarm): use correct pointer in loop. + 2002-10-07 JP Rosevear <jpr@ximian.com> * gui/dialogs/cal-prefs-dialog.c (setup_changes): cast the correct diff --git a/calendar/gui/dialogs/alarm-options.c b/calendar/gui/dialogs/alarm-options.c index 3e886f0ffa..e3d1431e6d 100644 --- a/calendar/gui/dialogs/alarm-options.c +++ b/calendar/gui/dialogs/alarm-options.c @@ -475,7 +475,7 @@ dalarm_widgets_to_alarm (Dialog *dialog, CalComponentAlarm *alarm) * we don't re-set the alarm's description */ icalcomp = cal_component_alarm_get_icalcomponent (alarm); icalprop = icalcomponent_get_first_property (icalcomp, ICAL_X_PROPERTY); - while (icalcomp) { + while (icalprop) { const char *x_name; x_name = icalproperty_get_x_name (icalprop); @@ -524,7 +524,7 @@ palarm_widgets_to_alarm (Dialog *dialog, CalComponentAlarm *alarm) * we don't re-set the alarm's description */ icalcomp = cal_component_alarm_get_icalcomponent (alarm); icalprop = icalcomponent_get_first_property (icalcomp, ICAL_X_PROPERTY); - while (icalcomp) { + while (icalprop) { const char *x_name; x_name = icalproperty_get_x_name (icalprop); |