summaryrefslogtreecommitdiff
path: root/riscos/toolbar.c
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/toolbar.c
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/toolbar.c')
-rw-r--r--riscos/toolbar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscos/toolbar.c b/riscos/toolbar.c
index bd76e23de..879d97853 100644
--- a/riscos/toolbar.c
+++ b/riscos/toolbar.c
@@ -1665,12 +1665,12 @@ void ro_toolbar_set_site_favicon(struct toolbar *toolbar,
/* This is an exported interface documented in toolbar.h */
void ro_toolbar_set_content_favicon(struct toolbar *toolbar,
- struct hlcache_handle *h)
+ struct gui_window *g)
{
if (toolbar == NULL || toolbar->url == NULL)
return;
- ro_gui_url_bar_set_content_favicon(toolbar->url, h);
+ ro_gui_url_bar_set_content_favicon(toolbar->url, g);
}