diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-12-02 22:42:54 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:07 +0100 |
commit | de010513c22947a905b27a164fa9975d6a8b5d63 (patch) | |
tree | 4eff34327102ea12cbb28bc2e4c8f2f738351f8b /src/render.c | |
parent | 4560e69b51b9e517bc5c7edbb80bc567f5bae2fd (diff) |
Improve autoconf conditionals (i.e. make them work..)
Diffstat (limited to 'src/render.c')
-rw-r--r-- | src/render.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render.c b/src/render.c index 128ede3a..2cc6a63b 100644 --- a/src/render.c +++ b/src/render.c @@ -250,6 +250,7 @@ static void show_marked_features(struct image *image, guchar *data, } +#ifdef HAVE_GTK /* Return a pixbuf containing a rendered version of the image after binning. * This pixbuf might be scaled later - hopefully mostly in a downward * direction. */ @@ -344,6 +345,7 @@ GdkPixbuf *render_get_colour_scale(size_t w, size_t h, int scale) return gdk_pixbuf_new_from_data(data, GDK_COLORSPACE_RGB, FALSE, 8, w, h, w*3, render_free_data, NULL); } +#endif /* HAVE_GTK */ int render_png(DisplayWindow *dw, const char *filename) |