Replace the deprecated rsvg_handle_render_cairo with rsvg_handle_render_document
rsvg_handle_render_cairo
has been deprecated in favor of rsvg_handle_render_document
(see the migrating doc)
I am not very about the error message I added since when loading the svg file we check if there is something wrong...
Thanks !
Edited by Krifa75