mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
Browser window: Constify bw through page_info_state getter.
This commit is contained in:
parent
475d397b8c
commit
d23a7b4c8f
@ -4644,7 +4644,7 @@ browser_window__reload_current_parameters(struct browser_window *bw)
|
||||
|
||||
/* Exported interface, documented in browser_window.h */
|
||||
browser_window_page_info_state browser_window_get_page_info_state(
|
||||
struct browser_window *bw)
|
||||
const struct browser_window *bw)
|
||||
{
|
||||
lwc_string *scheme;
|
||||
bool match;
|
||||
|
@ -774,7 +774,7 @@ nserror browser_window_console_log(struct browser_window *bw,
|
||||
* \return The state of the browser window
|
||||
*/
|
||||
browser_window_page_info_state browser_window_get_page_info_state(
|
||||
struct browser_window *bw);
|
||||
const struct browser_window *bw);
|
||||
|
||||
/**
|
||||
* Request the current browser window SSL certificate chain.
|
||||
|
Loading…
Reference in New Issue
Block a user