]> code.delx.au - gnu-emacs/commitdiff
* image.c (svg_load_image): Use rsvg_handle_get_dimensions to check
authorChong Yidong <cyd@stupidchicken.com>
Fri, 25 Jul 2008 17:06:06 +0000 (17:06 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 25 Jul 2008 17:06:06 +0000 (17:06 +0000)
that image size is valid.  Use g_object_unref instead of deprecated
rsvg_handle_free to free rsvg handle.

src/ChangeLog

index 0a9fa8b59e244f3aff3ffc53853580cb1489f8ae..2d7ef660253b866cd92c522d715c2098c5b0b03f 100644 (file)
@@ -1,6 +1,9 @@
 2008-07-25  Chong Yidong  <cyd@stupidchicken.com>
 
        * image.c (svg_load_image): Fix last change.
+       (svg_load_image): Use rsvg_handle_get_dimensions to check that
+       image size is valid.  Use g_object_unref instead of deprecated
+       rsvg_handle_free to free rsvg handle.
 
 2008-07-25  Jason Rumney  <jasonr@gnu.org>