summaryrefslogtreecommitdiff
path: root/riscos/gui/url_bar.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-10-16 09:22:05 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2014-10-16 09:22:05 +0100
commitb4b97d90032e7c52f1888b1b32132e30c0bd4094 (patch)
treee4d73caf97f443343d229d4c7d639c5c0417f98c /riscos/gui/url_bar.h
parentcb976f24c7dc2892d940945dc64866f4904349c4 (diff)
downloadnetsurf-b4b97d90032e7c52f1888b1b32132e30c0bd4094.tar.gz
netsurf-b4b97d90032e7c52f1888b1b32132e30c0bd4094.tar.bz2
Chage favicon set APIs to take gui_window rather than hlcache_handle.
Let the front end pass its own types around, rather than core ones. This removes one "bw->current_content" from window.c. Now the current content is only accessed where its needed, in the favicon handler, and it is accessed via the appropriate API.
Diffstat (limited to 'riscos/gui/url_bar.h')
-rw-r--r--riscos/gui/url_bar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/riscos/gui/url_bar.h b/riscos/gui/url_bar.h
index 0f41a4b01..8e8d291ac 100644
--- a/riscos/gui/url_bar.h
+++ b/riscos/gui/url_bar.h
@@ -305,15 +305,15 @@ bool ro_gui_url_bar_set_site_favicon(struct url_bar *url_bar,
/**
* Set the favicon to a RISC OS filetype sprite based on the type of the
- * supplied content.
+ * content within the supplied window.
*
* \param *url_bar The URL Bar to update the favicon on.
- * \param *h The content to use.
+ * \param *g The window with the content to use.
* \return true if successful; else false.
*/
bool ro_gui_url_bar_set_content_favicon(struct url_bar *url_bar,
- struct hlcache_handle *h);
+ struct gui_window *g);
/**