render: use rsvg_handle_render_document() instead of rsvg_handle_render_cairo()
Before adoption: this commit came in with the history the project adopted, so no landing records it.
rsvg_handle_render_cairo() is deprecated, use rsvg_handle_render_document() instead. However, FreeBSD seems to be stuck on a librsvg-2.40, where rsvg_handle_render_document() doesn’t exist (it was added in 2.46). Thus, keep the old code, and is it when compiling against older librsvg versions, and use rsvg_handle_render_document() on 2.46 and up. Closes #32
authored by Daniel Eklöf · committed by Daniel Eklöf · parent 050bb60 · Browse files · 2 files+30 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+30 added−0 removed
- other:+30 added−0 removed