From eab53da088c16449243218a527ba142a9677d93d Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 20 Apr 2015 22:03:43 +0100 Subject: Remove unecessary inclusion of the image bitmap header --- gtk/thumbnail.c | 1 - image/bmp.h | 2 -- image/image_cache.c | 1 + image/image_cache.h | 3 +-- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/gtk/thumbnail.c b/gtk/thumbnail.c index ef95d0c30..2ee33fba6 100644 --- a/gtk/thumbnail.c +++ b/gtk/thumbnail.c @@ -35,7 +35,6 @@ #include "desktop/plotters.h" #include "desktop/browser.h" #include "desktop/thumbnail.h" -#include "image/bitmap.h" #include "gtk/scaffolding.h" #include "gtk/plotters.h" diff --git a/image/bmp.h b/image/bmp.h index 9c016ecdf..f3b398584 100644 --- a/image/bmp.h +++ b/image/bmp.h @@ -26,8 +26,6 @@ #include -#include "image/bitmap.h" - extern bmp_bitmap_callback_vt bmp_bitmap_callbacks; /** Only to be used by ICO code. */ nserror nsbmp_init(void); diff --git a/image/image_cache.c b/image/image_cache.c index ac3679081..cf15bf75d 100644 --- a/image/image_cache.c +++ b/image/image_cache.c @@ -27,6 +27,7 @@ #include "desktop/gui_misc.h" #include "desktop/gui_internal.h" +#include "image/bitmap.h" #include "image/image_cache.h" #include "image/image.h" diff --git a/image/image_cache.h b/image/image_cache.h index eb7a04fa3..2f1a5caee 100644 --- a/image/image_cache.h +++ b/image/image_cache.h @@ -38,10 +38,9 @@ #define NETSURF_IMAGE_IMAGE_CACHE_H_ #include "utils/errors.h" -#include "desktop/plotters.h" -#include "image/bitmap.h" struct content_redraw_data; +struct redraw_context; typedef struct bitmap * (image_cache_convert_fn) (struct content *content); -- cgit v1.2.3