Constify rect param to browser_window_set_drag_type.

svn path=/trunk/netsurf/; revision=13398
This commit is contained in:
Michael Drake 2012-01-11 16:48:59 +00:00
parent 6794af012e
commit 2c7a54013d
2 changed files with 2 additions and 2 deletions

View File

@ -380,7 +380,7 @@ void browser_window_set_position(struct browser_window *bw, int x, int y)
/* exported interface, documented in browser.h */
void browser_window_set_drag_type(struct browser_window *bw,
browser_drag_type type, struct rect *rect)
browser_drag_type type, const struct rect *rect)
{
struct browser_window *top_bw = browser_window_get_root(bw);
gui_drag_type gtype;

View File

@ -417,7 +417,7 @@ void browser_window_set_scroll(struct browser_window *bw, int x, int y);
* \param rect area pointer may be confined to, during drag, or NULL
*/
void browser_window_set_drag_type(struct browser_window *bw,
browser_drag_type type, struct rect *rect);
browser_drag_type type, const struct rect *rect);
/*
* Get the root level browser window