From f39ce1a26229a392f193e463b70ae88d0dc11508 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 22 Feb 2020 16:33:43 +0000 Subject: Browser window: Constify the bw in the URL access function. --- include/netsurf/browser_window.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/netsurf/browser_window.h') 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. -- cgit v1.2.3