From: Chong Yidong Date: Fri, 25 Jul 2008 17:06:06 +0000 (+0000) Subject: * image.c (svg_load_image): Use rsvg_handle_get_dimensions to check X-Git-Tag: emacs-pretest-23.0.90~3889 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c01c4e35bfbf09cb08c4c5f277c441123da65267;p=emacs.git * image.c (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. --- diff --git a/src/ChangeLog b/src/ChangeLog index 0a9fa8b59e2..2d7ef660253 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,6 +1,9 @@ 2008-07-25 Chong Yidong * 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