diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2021-11-05 11:51:46 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2021-11-05 11:53:17 -0700 |
commit | 133026c362eb27191d992fbf35727550804bfc96 (patch) | |
tree | 0a8590a4398e615960955dc1309ad88480f399cc /lisp/emacs-lisp/regexp-opt.el | |
parent | c1865384d736cf290971e049a9d2f7869c7396da (diff) | |
download | emacs-133026c362eb27191d992fbf35727550804bfc96.tar.gz emacs-133026c362eb27191d992fbf35727550804bfc96.tar.bz2 emacs-133026c362eb27191d992fbf35727550804bfc96.zip |
rsvg_handle_get_dimensions is deprecated in 2.52.0
In Bug#44655#32 (2020-11-19) it was reported that
rsvg_handle_get_dimensions was not deprecated. However, it became
deprecated in librsvg 2.52.0 (2021-09-15), and because of this Emacs
builds with --enable-gcc-warnings fail in Fedora 35 (2025-11-02)
with the diagnostic “‘rsvg_handle_get_dimensions’ is deprecated:
Use 'rsvg_handle_get_intrinsic_size_in_pixels' instead
[-Werror=deprecated-declarations]”.
* src/image.c (rsvg_handle_get_dimensions): Define as a DLL
function only if < librsvg 2.46.0, since it’s not used
in 2.46.0 or later.
(svg_load_image): Use rsvg_handle_get_dimensions only if librsvg <
2.46.0, since it isn’t needed if >= 2.46.0.
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
0 files changed, 0 insertions, 0 deletions