diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-12-02 22:56:28 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:07 +0100 |
commit | c25120f4b71da8b82476c8a14b1617c8f7b72d57 (patch) | |
tree | e9675a9f569cc4ef592ff72727df2f689e6643e4 /src/render.h | |
parent | fcf49763c544e280567b1b31f159fb134beac727 (diff) |
Fix Cairo conditionals
Diffstat (limited to 'src/render.h')
-rw-r--r-- | src/render.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/render.h b/src/render.h index 902ec278..ae9fb637 100644 --- a/src/render.h +++ b/src/render.h @@ -20,7 +20,7 @@ #include <stddef.h> -#include "displaywindow.h" + #include "image.h" enum { @@ -32,18 +32,21 @@ enum { extern void render_scale(float val, float max, int scale, float *rp, float *gp, float *bp); + #ifdef HAVE_GTK #include <gdk-pixbuf/gdk-pixbuf.h> +#include "displaywindow.h" extern GdkPixbuf *render_get_image(DisplayWindow *dw); extern GdkPixbuf *render_get_colour_scale(size_t w, size_t h, int scale); -#endif /* HAVE_GTK */ - extern int render_png(DisplayWindow *dw, const char *filename); extern int render_tiff_fp(DisplayWindow *dw, const char *filename); extern int render_tiff_int16(DisplayWindow *dw, const char *filename); +#endif /* HAVE_GTK */ + + #endif /* RENDER_H */ |