Commit 0514b4be authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* image.c (syms_of_image): Don't access XSYMBOL's internals directly.

parent e7f50e8f
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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment