From: Eli Zaretskii Date: Sun, 16 Jan 2011 09:51:59 +0000 (-0500) Subject: Fix bug #7848 with using SET_SYMBOL_VALUE in image.c X-Git-Tag: emacs-pretest-23.2.93~56 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e7f50e8ff0f760dede1dea496f7f69486c657bcd;p=emacs.git Fix bug #7848 with using SET_SYMBOL_VALUE in image.c !!!DO NOT MERGE TO THE TRUNK!!! image.c (syms_of_image): Don't use SET_SYMBOL_VALUE. --- diff --git a/src/ChangeLog b/src/ChangeLog index 3a65048f057..aa9512abcb2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-01-16 Eli Zaretskii + + * image.c (syms_of_image): Don't use SET_SYMBOL_VALUE. (Bug#7848) + 2011-01-15 Martin Rudalics * window.c (inhibit_point_swap): New variable. diff --git a/src/image.c b/src/image.c index 8dcd2da67d4..31314b0a617 100644 --- a/src/image.c +++ b/src/image.c @@ -8464,9 +8464,9 @@ non-numeric, there is no explicit limit on the size of images. */); Qlibpng_version = intern_c_string ("libpng-version"); staticpro (&Qlibpng_version); #if HAVE_PNG - SET_SYMBOL_VAL (XSYMBOL (Qlibpng_version), make_number (PNG_LIBPNG_VER)); + XSYMBOL (Qlibpng_version)->value = make_number (PNG_LIBPNG_VER); #else - SET_SYMBOL_VAL (XSYMBOL (Qlibpng_version), make_number (-1)); + XSYMBOL (Qlibpng_version)->value = make_number (-1)); #endif #endif