diff options
Diffstat (limited to 'calendar/gui/e-day-view-time-item.c')
-rw-r--r-- | calendar/gui/e-day-view-time-item.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/gui/e-day-view-time-item.c b/calendar/gui/e-day-view-time-item.c index 105c85d31e..49720456f3 100644 --- a/calendar/gui/e-day-view-time-item.c +++ b/calendar/gui/e-day-view-time-item.c @@ -29,8 +29,6 @@ #include <config.h> #include <gnome.h> -#include <gtk/gtkmenu.h> -#include <gtk/gtkradiomenuitem.h> #include "e-day-view-time-item.h" #include "../../e-util/e-gui-utils.h" @@ -246,6 +244,9 @@ e_day_view_time_item_draw (GnomeCanvasItem *canvas_item, fg_gc = style->fg_gc[GTK_STATE_NORMAL]; dark_gc = style->dark_gc[GTK_STATE_NORMAL]; + time_min_x1 = 0; + hour_r = 0; + /* Step through each row, drawing the horizontal grid lines for each day column and the times. */ time_hour_x1 = E_DVTMI_TIME_GRID_X_PAD - x; |