Constify rect param to browser_window_set_drag_type.
svn path=/trunk/netsurf/; revision=13398
This commit is contained in:
parent
6794af012e
commit
2c7a54013d
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue