diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-04-20 22:03:43 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-04-20 22:03:43 +0100 |
commit | eab53da088c16449243218a527ba142a9677d93d (patch) | |
tree | eb0b8c45d933c62127ece1824cdbda6cde64d696 | |
parent | 1c9c303df886c073970982b78b2308f180f9cb9d (diff) | |
download | netsurf-eab53da088c16449243218a527ba142a9677d93d.tar.gz netsurf-eab53da088c16449243218a527ba142a9677d93d.tar.bz2 |
Remove unecessary inclusion of the image bitmap header
-rw-r--r-- | gtk/thumbnail.c | 1 | ||||
-rw-r--r-- | image/bmp.h | 2 | ||||
-rw-r--r-- | image/image_cache.c | 1 | ||||
-rw-r--r-- | 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 <libnsbmp.h> -#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); |