diff --git a/src/gcal-month-view.c b/src/gcal-month-view.c index bb8846c4..97adfd92 100644 --- a/src/gcal-month-view.c +++ b/src/gcal-month-view.c @@ -559,13 +559,8 @@ gcal_month_view_draw (GtkWidget *widget, pango_layout_set_font_description (layout, font); - gtk_style_context_save (context); - gtk_style_context_add_region (context, "header", 0); - gtk_style_context_get_padding (context, state, &header_padding); - gtk_style_context_restore (context); - /* calculations */ days = priv->days_delay + icaltime_days_in_month (priv->date->month, priv->date->year); diff --git a/src/gcal-year-view.c b/src/gcal-year-view.c index 52716d42..87aa4064 100644 --- a/src/gcal-year-view.c +++ b/src/gcal-year-view.c @@ -755,13 +755,8 @@ gcal_year_view_draw_grid (GcalYearView *view, pango_layout_set_font_description (layout, font); - gtk_style_context_save (context); - gtk_style_context_add_region (context, "header", 0); - gtk_style_context_get_padding (context, state, &header_padding); - gtk_style_context_restore (context); - /* drawing new-event mark */ if (priv->start_mark_cell != -1 && priv->end_mark_cell != -1)