diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/netsurf/core_window.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/netsurf/core_window.h b/include/netsurf/core_window.h index 7eabda1d1..8cbd8efbf 100644 --- a/include/netsurf/core_window.h +++ b/include/netsurf/core_window.h @@ -100,7 +100,7 @@ struct core_window_callback_table { * \param[out] returns vertical scroll in px * \return NSERROR_OK on success or appropriate error code */ - nserror (*get_scroll)(struct core_window *cw, int *x, int *y); + nserror (*get_scroll)(const struct core_window *cw, int *x, int *y); /** * Get window viewport dimensions @@ -110,7 +110,7 @@ struct core_window_callback_table { * \param[out] height to be set to viewport height in px * \return NSERROR_OK on success or appropriate error code */ - nserror (*get_window_dimensions)(struct core_window *cw, + nserror (*get_window_dimensions)(const struct core_window *cw, int *width, int *height); /** |