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/window.c | |
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/window.c')
-rw-r--r-- | riscos/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/window.c b/riscos/window.c index af3365a95..071b7acca 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -1149,7 +1149,7 @@ static void gui_window_new_content(struct gui_window *g) ro_gui_menu_refresh(ro_gui_browser_window_menu); ro_gui_window_update_toolbar_buttons(g); ro_gui_dialog_close_persistent(g->window); - ro_toolbar_set_content_favicon(g->toolbar, g->bw->current_content); + ro_toolbar_set_content_favicon(g->toolbar, g); } |