Don't use deprecated pango_cairo_font_map_create_context()

We already require Pango 1.32.6, and the replacement function pango_font_map_create_context()
has been available since Pango 1.22.
parent 91bbe345
......@@ -369,7 +369,7 @@ rsvg_cairo_create_pango_context (RsvgDrawingCtx * ctx)
RsvgCairoRender *render = RSVG_CAIRO_RENDER (ctx->render);
fontmap = pango_cairo_font_map_get_default ();
context = pango_cairo_font_map_create_context (PANGO_CAIRO_FONT_MAP (fontmap));
context = pango_font_map_create_context (fontmap);
pango_cairo_update_context (render->cr, context);
pango_cairo_context_set_resolution (context, ctx->dpi_y);
return context;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment