summaryrefslogtreecommitdiff
path: root/src/cairo.h
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-05-06 21:33:22 +0000
committerCarl Worth <cworth@cworth.org>2005-05-06 21:33:22 +0000
commit10c88d424485c7f001e9e03c121aa7c3b55336cc (patch)
treecea9516a466c2f28bf7f68280cd90003af73448c /src/cairo.h
parent9939e01b693a885496cfa82430b91c11a121269e (diff)
Change definitions of everything in cairo-features.h to prefer #if over #ifdef.
Track #ifdef -> #if changes. Add support to automatically change all #ifdef CAIRO_HAS to #if CAIRO_HAS.
Diffstat (limited to 'src/cairo.h')
-rw-r--r--src/cairo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo.h b/src/cairo.h
index 79aa17e1a..38e0d859a 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -934,7 +934,7 @@ cairo_surface_destroy (cairo_surface_t *surface);
cairo_status_t
cairo_surface_finish (cairo_surface_t *surface);
-#ifdef CAIRO_HAS_PNG_FUNCTIONS
+#if CAIRO_HAS_PNG_FUNCTIONS
cairo_status_t
cairo_surface_write_to_png (cairo_surface_t *surface,
@@ -982,7 +982,7 @@ cairo_image_surface_get_width (cairo_surface_t *surface);
int
cairo_image_surface_get_height (cairo_surface_t *surface);
-#ifdef CAIRO_HAS_PNG_FUNCTIONS
+#if CAIRO_HAS_PNG_FUNCTIONS
cairo_surface_t *
cairo_image_surface_create_from_png (const char *filename);