From ff11049f305772e544482d91f4c8c39b56b0ff63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erick=20P=C3=A9rez=20Castellanos?= Date: Wed, 24 Sep 2014 10:20:30 -0400 Subject: [PATCH] build: remove calls to deprecated methods --- src/gcal-month-view.c | 5 ----- src/gcal-year-view.c | 5 ----- 2 files changed, 10 deletions(-) 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)