summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-02-19 22:17:54 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-02-19 22:17:54 +0000
commita66575dfebd6460d5134c22543458030c7ae817d (patch)
tree183be1a6e9f58240198614e373030ad791562de8 /desktop
parentbd48a052a3b621233438bce25915aa3360502730 (diff)
downloadnetsurf-a66575dfebd6460d5134c22543458030c7ae817d.tar.gz
netsurf-a66575dfebd6460d5134c22543458030c7ae817d.tar.bz2
Remove thumbnail_create() from browser.h. Make RO front end use the core thumbnail_redraw function. Make other front ends include the right header for thumbnail_create().
svn path=/trunk/netsurf/; revision=11716
Diffstat (limited to 'desktop')
-rw-r--r--desktop/browser.h4
-rw-r--r--desktop/history_core.c1
2 files changed, 1 insertions, 4 deletions
diff --git a/desktop/browser.h b/desktop/browser.h
index c12f2113c..9f80d7c05 100644
--- a/desktop/browser.h
+++ b/desktop/browser.h
@@ -291,10 +291,6 @@ void global_history_add(const char *url);
void global_history_add_recent(const char *url);
char **global_history_get_recent(int *count);
-/* In platform specific thumbnail.c. */
-bool thumbnail_create(struct hlcache_handle *content, struct bitmap *bitmap,
- const char *url);
-
/* In platform specific schedule.c. */
void schedule(int t, void (*callback)(void *p), void *p);
void schedule_remove(void (*callback)(void *p), void *p);
diff --git a/desktop/history_core.c b/desktop/history_core.c
index 96a760a9d..0449a3d18 100644
--- a/desktop/history_core.c
+++ b/desktop/history_core.c
@@ -34,6 +34,7 @@
#include "desktop/gui.h"
#include "desktop/history_core.h"
#include "desktop/plotters.h"
+#include "desktop/thumbnail.h"
#include "image/bitmap.h"
#include "render/font.h"
#include "utils/log.h"