build: remove calls to deprecated methods
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user