mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 22:41:30 +03:00
Page info: We need a non-const browser window.
Due to where we pass it back out to browser window.
This commit is contained in:
parent
1a25234f20
commit
c8efbbc206
@ -238,7 +238,7 @@ struct page_info {
|
||||
const struct core_window_callback_table *cw_t;
|
||||
struct core_window *cw_h;
|
||||
|
||||
const struct browser_window *bw;
|
||||
struct browser_window *bw;
|
||||
lwc_string *domain;
|
||||
|
||||
browser_window_page_info_state state;
|
||||
@ -464,7 +464,7 @@ static nserror page_info__set_text(
|
||||
*/
|
||||
static nserror page_info__create_from_bw(
|
||||
struct page_info *pi,
|
||||
const struct browser_window *bw)
|
||||
struct browser_window *bw)
|
||||
{
|
||||
nsurl *url = browser_window_access_url(bw);
|
||||
|
||||
@ -527,7 +527,7 @@ static nserror page_info__layout(
|
||||
nserror page_info_create(
|
||||
const struct core_window_callback_table *cw_t,
|
||||
struct core_window *cw_h,
|
||||
const struct browser_window *bw,
|
||||
struct browser_window *bw,
|
||||
struct page_info **pi_out)
|
||||
{
|
||||
struct page_info *pi;
|
||||
|
@ -68,7 +68,7 @@ nserror page_info_fini(void);
|
||||
nserror page_info_create(
|
||||
const struct core_window_callback_table *cw_t,
|
||||
struct core_window *cw_h,
|
||||
const struct browser_window *bw,
|
||||
struct browser_window *bw,
|
||||
struct page_info **pi_out);
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user