[cairo-commit] src/cairoint.h

Behdad Esfahbod behdad at kemper.freedesktop.org
Thu Feb 8 15:07:26 PST 2007


 src/cairoint.h |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletion(-)

New commits:
diff-tree aea0831d24c3fca59b9eb9dd8acce9d9cdd13f26 (from 4773b8a6d25e4b228471ad48616c08367ee84809)
Author: Kalle Vahlman <kalle.vahlman at gmail.com>
Date:   Thu Feb 8 15:07:45 2007 -0800

    [cairoint] Make it compile with libpng disabled

diff --git a/src/cairoint.h b/src/cairoint.h
index 08df751..fd78468 100755
--- a/src/cairoint.h
+++ b/src/cairoint.h
@@ -2543,9 +2543,14 @@ slim_hidden_proto (cairo_surface_referen
 slim_hidden_proto (cairo_surface_set_device_offset);
 slim_hidden_proto (cairo_surface_set_fallback_resolution);
 slim_hidden_proto (cairo_surface_status);
-slim_hidden_proto (cairo_surface_write_to_png_stream);
 slim_hidden_proto (cairo_version_string);
 
+#if CAIRO_HAS_PNG_FUNCTIONS
+
+slim_hidden_proto (cairo_surface_write_to_png_stream);
+
+#endif
+
 CAIRO_END_DECLS
 
 #endif


More information about the cairo-commit mailing list