build: remove calls to deprecated methods

This commit is contained in:
Erick Pérez Castellanos
2014-12-04 17:10:35 -05:00
parent 1ad998b54b
commit ff11049f30
2 changed files with 0 additions and 10 deletions
-5
View File
@@ -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);
-5
View File
@@ -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)