diff options
author | JP Rosevear <jpr@ximian.com> | 2004-02-06 11:03:46 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-02-06 11:03:46 +0800 |
commit | 9fe2942fe8ed2a561c9a3098f8a3655ae2691fcd (patch) | |
tree | ea90ec6bdbaa2642c2112096c01cc892c08cd006 /calendar/gui/e-alarm-list.c | |
parent | f50cbd6b5ec4ab3616e693e83ececd617f559521 (diff) | |
download | gsoc2013-evolution-9fe2942fe8ed2a561c9a3098f8a3655ae2691fcd.tar gsoc2013-evolution-9fe2942fe8ed2a561c9a3098f8a3655ae2691fcd.tar.gz gsoc2013-evolution-9fe2942fe8ed2a561c9a3098f8a3655ae2691fcd.tar.bz2 gsoc2013-evolution-9fe2942fe8ed2a561c9a3098f8a3655ae2691fcd.tar.lz gsoc2013-evolution-9fe2942fe8ed2a561c9a3098f8a3655ae2691fcd.tar.xz gsoc2013-evolution-9fe2942fe8ed2a561c9a3098f8a3655ae2691fcd.tar.zst gsoc2013-evolution-9fe2942fe8ed2a561c9a3098f8a3655ae2691fcd.zip |
Convert the calendar_config_get_timezone and
2004-02-05 JP Rosevear <jpr@ximian.com>
* Convert the calendar_config_get_timezone and
icaltimezone_get_builtin_timezone pair to just
calendar_config_get_icaltimezone, this also guarantees we will
have some timezone (even if its just UTC)
svn path=/trunk/; revision=24642
Diffstat (limited to 'calendar/gui/e-alarm-list.c')
-rw-r--r-- | calendar/gui/e-alarm-list.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/calendar/gui/e-alarm-list.c b/calendar/gui/e-alarm-list.c index 2c3a24525e..c8b968600f 100644 --- a/calendar/gui/e-alarm-list.c +++ b/calendar/gui/e-alarm-list.c @@ -518,7 +518,6 @@ get_alarm_string (ECalComponentAlarm *alarm) case E_CAL_COMPONENT_ALARM_TRIGGER_ABSOLUTE: { struct icaltimetype itt; icaltimezone *utc_zone, *current_zone; - char *location; struct tm tm; char buf[256]; @@ -527,8 +526,7 @@ get_alarm_string (ECalComponentAlarm *alarm) itt = trigger.u.abs_time; utc_zone = icaltimezone_get_utc_timezone (); - location = calendar_config_get_timezone (); - current_zone = icaltimezone_get_builtin_timezone (location); + current_zone = calendar_config_get_icaltimezone (); tm = icaltimetype_to_tm_with_zone (&itt, utc_zone, current_zone); |