diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-10-16 09:22:05 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-10-16 09:22:05 +0100 |
commit | b4b97d90032e7c52f1888b1b32132e30c0bd4094 (patch) | |
tree | e4d73caf97f443343d229d4c7d639c5c0417f98c /riscos/toolbar.h | |
parent | cb976f24c7dc2892d940945dc64866f4904349c4 (diff) | |
download | netsurf-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.h')
-rw-r--r-- | riscos/toolbar.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/riscos/toolbar.h b/riscos/toolbar.h index 336f95d15..41f1af728 100644 --- a/riscos/toolbar.h +++ b/riscos/toolbar.h @@ -428,15 +428,15 @@ void ro_toolbar_set_site_favicon(struct toolbar *toolbar, /** * Update the favicon in a browser window toolbar to reflect the RISC OS - * filetype of the supplied content. If the toolbar currently has a - * site favicon set, then this call will be ignored. + * filetype of the content within the supplied window. If the toolbar + * currently has a site favicon set, then this call will be ignored. * * \param *toolbar The toolbar to refresh. - * \param *h The page content to reflect. + * \param *g The gui window to set content favicon for. */ void ro_toolbar_set_content_favicon(struct toolbar *toolbar, - struct hlcache_handle *h); + struct gui_window *g); /** |