diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-10-18 19:54:36 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-10-18 19:54:36 +0100 |
commit | 6f26fa421e0a3cdd6ed31339a353b6b1976f235c (patch) | |
tree | 7e6b041388c16d353abc77ede2af6127ecaaefb3 /riscos/window.c | |
parent | 6186d791d22a85384078bc8cb3dd5ad10deab2ba (diff) | |
download | netsurf-6f26fa421e0a3cdd6ed31339a353b6b1976f235c.tar.gz netsurf-6f26fa421e0a3cdd6ed31339a353b6b1976f235c.tar.bz2 |
Use proper content aquisution API.
Diffstat (limited to 'riscos/window.c')
-rw-r--r-- | riscos/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/riscos/window.c b/riscos/window.c index a8c8995e8..a29240cb1 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -3391,7 +3391,7 @@ void ro_gui_window_iconise(struct gui_window *g, assert(bw); - h = bw->current_content; + h = browser_window_get_content(bw); if (!h) return; /* if an overlay sprite is defined, locate it and gets its dimensions @@ -3805,7 +3805,7 @@ bool ro_gui_window_content_export_types(hlcache_handle *h, void ro_gui_window_prepare_pageinfo(struct gui_window *g) { - hlcache_handle *h = g->bw->current_content; + hlcache_handle *h = browser_window_get_content(g->bw); char icon_buf[20] = "file_xxx"; char enc_buf[40]; const char *icon = icon_buf; |