From b4b97d90032e7c52f1888b1b32132e30c0bd4094 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 16 Oct 2014 09:22:05 +0100 Subject: 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. --- riscos/toolbar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'riscos/toolbar.c') 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); } -- cgit v1.2.3