mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(svg_load_image): Fix last change.
This commit is contained in:
parent
7bfc0e9ee9
commit
b2996e5783
1 changed files with 2 additions and 1 deletions
|
|
@ -9021,12 +9021,13 @@ svg_load_image (f, img, contents, size)
|
|||
fn_rsvg_handle_close (rsvg_handle, &error);
|
||||
if (error)
|
||||
goto rsvg_error;
|
||||
|
||||
/* We can now get a valid pixel buffer from the svg file, if all
|
||||
went ok. */
|
||||
pixbuf = fn_rsvg_handle_get_pixbuf (rsvg_handle);
|
||||
fn_rsvg_handle_free (rsvg_handle);
|
||||
if (!pixbuf)
|
||||
goto rsvg_error;
|
||||
fn_rsvg_handle_free (rsvg_handle);
|
||||
|
||||
/* Extract some meta data from the svg handle. */
|
||||
width = fn_gdk_pixbuf_get_width (pixbuf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue