Mercurial > emacs
changeset 112344:7c2cdabbc4a9
* image.c (syms_of_image): Don't access XSYMBOL's internals directly.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sun, 16 Jan 2011 10:40:47 -0500 |
parents | f93569ff5422 |
children | 32f10f475431 |
files | src/ChangeLog src/image.c |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Sun Jan 16 04:51:59 2011 -0500 +++ b/src/ChangeLog Sun Jan 16 10:40:47 2011 -0500 @@ -1,3 +1,7 @@ +2011-01-16 Stefan Monnier <monnier@iro.umontreal.ca> + + * image.c (syms_of_image): Don't access XSYMBOL's internals directly. + 2011-01-16 Eli Zaretskii <eliz@gnu.org> * image.c (syms_of_image): Don't use SET_SYMBOL_VALUE. (Bug#7848)
--- a/src/image.c Sun Jan 16 04:51:59 2011 -0500 +++ b/src/image.c Sun Jan 16 10:40:47 2011 -0500 @@ -8463,11 +8463,13 @@ #ifdef HAVE_NTGUI Qlibpng_version = intern_c_string ("libpng-version"); staticpro (&Qlibpng_version); + Fset (Qlibpng_version, #if HAVE_PNG - XSYMBOL (Qlibpng_version)->value = make_number (PNG_LIBPNG_VER); + make_number (PNG_LIBPNG_VER) #else - XSYMBOL (Qlibpng_version)->value = make_number (-1)); + make_number (-1) #endif + ); #endif #if defined (HAVE_XPM) || defined (HAVE_NS)