summaryrefslogtreecommitdiff
path: root/desktop/browser_private.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-08-02 11:52:56 +0100
committerVincent Sanders <vince@kyllikki.org>2019-08-02 12:26:19 +0100
commit4ae27a65929a5fe333dc9f9f0d43ac91a72a0116 (patch)
tree311333ebefab44ac359197c47acf59747a8aa848 /desktop/browser_private.h
parent5c9d54d05b35f3f06261f8bf9c3a48d2293df767 (diff)
downloadnetsurf-4ae27a65929a5fe333dc9f9f0d43ac91a72a0116.tar.gz
netsurf-4ae27a65929a5fe333dc9f9f0d43ac91a72a0116.tar.bz2
remove scaling from internal browser get_dimensions calls
Diffstat (limited to 'desktop/browser_private.h')
-rw-r--r--desktop/browser_private.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/browser_private.h b/desktop/browser_private.h
index a5a6dcc9c..68487ea80 100644
--- a/desktop/browser_private.h
+++ b/desktop/browser_private.h
@@ -254,10 +254,10 @@ nserror browser_window_initialise_common(enum browser_window_create_flags flags,
* \param bw The browser window to get dimensions of
* \param width Updated to the browser window viewport width
* \param height Updated to the browser window viewport height
- * \param scaled Whether we want the height with scale applied
+ * \return NSERROR_OK and width and height updated otherwise error code
*/
-void browser_window_get_dimensions(struct browser_window *bw,
- int *width, int *height, bool scaled);
+nserror browser_window_get_dimensions(struct browser_window *bw,
+ int *width, int *height);
/**