diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2020-02-22 16:33:43 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2020-02-22 16:37:37 +0000 |
commit | f39ce1a26229a392f193e463b70ae88d0dc11508 (patch) | |
tree | 2cae9d3b29e8cd06f286567bf3b6abcd61232c10 /include | |
parent | 194dfad4a5ca36bf39bd1c20c874747991f9281c (diff) | |
download | netsurf-f39ce1a26229a392f193e463b70ae88d0dc11508.tar.gz netsurf-f39ce1a26229a392f193e463b70ae88d0dc11508.tar.bz2 |
Browser window: Constify the bw in the URL access function.
Diffstat (limited to 'include')
-rw-r--r-- | include/netsurf/browser_window.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/netsurf/browser_window.h b/include/netsurf/browser_window.h index f8b86d07a..7b2f652e6 100644 --- a/include/netsurf/browser_window.h +++ b/include/netsurf/browser_window.h @@ -231,7 +231,7 @@ nserror browser_window_navigate_up(struct browser_window *bw, bool new_window); * * \note guaranteed to return a valid nsurl ptr, never returns NULL. */ -struct nsurl* browser_window_access_url(struct browser_window *bw); +struct nsurl* browser_window_access_url(const struct browser_window *bw); /** * Access a browser window's URL. |