aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-02-06 11:03:46 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-02-06 11:03:46 +0800
commit9fe2942fe8ed2a561c9a3098f8a3655ae2691fcd (patch)
treeea90ec6bdbaa2642c2112096c01cc892c08cd006 /calendar/gui/e-day-view.c
parentf50cbd6b5ec4ab3616e693e83ececd617f559521 (diff)
downloadgsoc2013-evolution-9fe2942fe8ed2a561c9a3098f8a3655ae2691fcd.tar.gz
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-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index e1f7179973..3ee3813f47 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -7005,7 +7005,7 @@ e_day_view_on_top_canvas_drag_data_received (GtkWidget *widget,
&& !drag_from_same_window) {
/* We are dragging between different window */
- char *comp_str, *default_tzid;
+ char *comp_str;
icalcomponent *icalcomp;
icalcomponent_kind kind;
time_t dtstart;
@@ -7022,8 +7022,7 @@ e_day_view_on_top_canvas_drag_data_received (GtkWidget *widget,
if (!icalcomp)
goto error;
- default_tzid = calendar_config_get_timezone ();
- e_cal_get_timezone (client, default_tzid, &default_zone, NULL);
+ default_zone = calendar_config_get_icaltimezone ();
/* check the type of the component */
kind = icalcomponent_isa (icalcomp);
@@ -7196,7 +7195,7 @@ e_day_view_on_main_canvas_drag_data_received (GtkWidget *widget,
&& !drag_from_same_window) {
/* We are dragging between different window */
- char *comp_str, *default_tzid;
+ char *comp_str;
icalcomponent *icalcomp;
icalcomponent_kind kind;
time_t dtstart;
@@ -7213,8 +7212,7 @@ e_day_view_on_main_canvas_drag_data_received (GtkWidget *widget,
if (!icalcomp)
goto error;
- default_tzid = calendar_config_get_timezone ();
- e_cal_get_timezone (client, default_tzid, &default_zone, NULL);
+ default_zone = calendar_config_get_icaltimezone ();
/* check the type of the component */
kind = icalcomponent_isa (icalcomp);