aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/gui/dialogs/goto-dialog.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/calendar/gui/dialogs/goto-dialog.c b/calendar/gui/dialogs/goto-dialog.c
index 132438865c..64c40ff285 100644
--- a/calendar/gui/dialogs/goto-dialog.c
+++ b/calendar/gui/dialogs/goto-dialog.c
@@ -238,7 +238,6 @@ goto_dialog (GtkWindow *parent,
time_t start_time;
struct icaltimetype tt;
icaltimezone *timezone;
- gint week_start_day;
gint b;
if (dlg) {
@@ -284,10 +283,6 @@ goto_dialog (GtkWindow *parent,
dlg->ecal->calitem->selection_end_month_offset = 0;
dlg->ecal->calitem->selection_end_day = tt.day;
- /* Set week_start_day. Convert it to 0 (Mon) to 6 (Sun), which is what we use. */
- week_start_day = e_cal_model_get_week_start_day (model);
- dlg->ecal->calitem->week_start_day = (week_start_day + 6) % 7;
-
gnome_canvas_item_grab_focus (GNOME_CANVAS_ITEM (dlg->ecal->calitem));
b = gtk_dialog_run (GTK_DIALOG (dlg->dialog));