]> git.eshelyaron.com Git - emacs.git/commit
Avoid functions deprecated in librsvg 2.45.1
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 10 Jul 2019 19:37:55 +0000 (12:37 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 10 Jul 2019 19:41:13 +0000 (12:41 -0700)
commit40cd6278ba965f3a9fcdddc568eb9ee7c69cf899
tree518c326c713350312b170a016bc145920bddb0f3
parent83ed722c8d9d4d9d4143062584b89f79f3b8104a
Avoid functions deprecated in librsvg 2.45.1

* src/image.c (init_svg_functions) [WINDOWSNT]:
Load the pre-2.32 or 2.32 functions,
depending on LIBRSVG_CHECK_VERSION.
(svg_load_image): In librsvg 2.32 or later, use
g_memory_input_stream_new_from_data, g_file_new_for_path and
rsvg_handle_new_from_stream_sync rather than the
deprecated-in-2.45 rsvg_handle_write and rsvg_handle_close.
From a patch by YAMAMOTO Mitsuharu (Bug#35548#11).
src/image.c