From 8fb2fc6fc347ddd68db0ce70648e9a2d25ef88e3 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 10 Sep 2017 16:05:41 +0100 Subject: rationalise history icon bitmap handling to ensure correct lifetime --- include/netsurf/bitmap.h | 2 +- include/netsurf/url_db.h | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) (limited to 'include') diff --git a/include/netsurf/bitmap.h b/include/netsurf/bitmap.h index e54bdff85..a85efce99 100644 --- a/include/netsurf/bitmap.h +++ b/include/netsurf/bitmap.h @@ -154,7 +154,7 @@ struct gui_bitmap_table { * * \param bitmap The bitmap to save * \param path The path to save the bitmap to. - * \param flags Flags affectin the save. + * \param flags Flags affecting the save. */ bool (*save)(void *bitmap, const char *path, unsigned flags); diff --git a/include/netsurf/url_db.h b/include/netsurf/url_db.h index be2c656ff..217cf8fcd 100644 --- a/include/netsurf/url_db.h +++ b/include/netsurf/url_db.h @@ -95,15 +95,6 @@ void urldb_iterate_partial(const char *prefix, bool (*callback)(struct nsurl *ur void urldb_iterate_entries(bool (*callback)(struct nsurl *url, const struct url_data *data)); -/** - * Retrieve thumbnail data for given URL - * - * \param url Absolute URL to search for - * \return Pointer to thumbnail data, or NULL if not found. - */ -struct bitmap *urldb_get_thumbnail(struct nsurl *url); - - /** * Find data for an URL. * -- cgit v1.2.3