* image.c: Do not use libpng if HAVE_NS, as NS does its own thing.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 6 May 2014 21:13:37 +0000 (14:13 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 6 May 2014 21:13:37 +0000 (14:13 -0700)
commitf62bc934f022be3c4af03ec9877f4ba32628822e
treec9e308f3bb6e2d1e199301790ebf9b85a1dc9570
parent2ddb358900f579f626fe2bf27d1fa1327e4fb9ab
* image.c: Do not use libpng if HAVE_NS, as NS does its own thing.

[HAVE_NS]: Do not include png.h.
(x_query_frame_background_color): New function.
(png_load_body, imagemagick_load_image, svg_load_image): Use it.
(png_load_body): Coalesce duplicate code.
src/ChangeLog
src/image.c