* image.c (syms_of_image): Don't access XSYMBOL's internals directly.
This commit is contained in:
parent
e7f50e8ff0
commit
0514b4be51
2 changed files with 8 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -8463,11 +8463,13 @@ non-numeric, there is no explicit limit on the size of images. */);
|
|||
#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)
|
||||
|
|
Loading…
Add table
Reference in a new issue