Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b2996e57
Commit
b2996e57
authored
Jul 25, 2008
by
Chong Yidong
Browse files
(svg_load_image): Fix last change.
parent
7bfc0e9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/image.c
src/image.c
+2
-1
No files found.
src/image.c
View file @
b2996e57
...
...
@@ -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);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment