changeset 112343:f93569ff5422

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.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 16 Jan 2011 04:51:59 -0500
parents 0534ddfdceeb
children 7c2cdabbc4a9
files src/ChangeLog src/image.c
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Jan 14 22:50:47 2011 -0500
+++ b/src/ChangeLog	Sun Jan 16 04:51:59 2011 -0500
@@ -1,3 +1,7 @@
+2011-01-16  Eli Zaretskii  <eliz@gnu.org>
+
+	* image.c (syms_of_image): Don't use SET_SYMBOL_VALUE.  (Bug#7848)
+
 2011-01-15  Martin Rudalics  <rudalics@gmx.at>
 
 	* window.c (inhibit_point_swap): New variable.
--- a/src/image.c	Fri Jan 14 22:50:47 2011 -0500
+++ b/src/image.c	Sun Jan 16 04:51:59 2011 -0500
@@ -8464,9 +8464,9 @@
   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