Constify rect param to gui_window_drag_start.

svn path=/trunk/netsurf/; revision=13397
This commit is contained in:
Michael Drake 2012-01-11 16:45:17 +00:00
parent d2253eee8f
commit 6794af012e
10 changed files with 90 additions and 90 deletions

View File

@ -3844,7 +3844,7 @@ bool gui_window_scroll_start(struct gui_window *g)
}
bool gui_window_drag_start(struct gui_window *g, gui_drag_type type,
struct rect *rect)
const struct rect *rect)
{
DebugPrintF("drag start\n");
return true;

View File

@ -594,7 +594,7 @@ bool gui_window_scroll_start(struct gui_window *w)
}
bool gui_window_drag_start(struct gui_window *g, gui_drag_type type,
struct rect *rect)
const struct rect *rect)
{
TODO();
return true;

View File

@ -1604,7 +1604,7 @@ bool gui_window_scroll_start(struct gui_window *g)
}
bool gui_window_drag_start(struct gui_window *g, gui_drag_type type,
struct rect *rect)
const struct rect *rect)
{
return true;
}

View File

@ -274,7 +274,7 @@ bool gui_window_scroll_start(struct gui_window *g)
}
bool gui_window_drag_start(struct gui_window *g, gui_drag_type type,
struct rect *rect)
const struct rect *rect)
{
return true;
}

View File

@ -108,7 +108,7 @@ void gui_window_new_content(struct gui_window *g);
bool gui_window_scroll_start(struct gui_window *g);
bool gui_window_drag_start(struct gui_window *g, gui_drag_type type,
struct rect *rect);
const struct rect *rect);
void gui_window_save_link(struct gui_window *g, const char *url,
const char *title);

View File

@ -1494,7 +1494,7 @@ gui_window_scroll_start(struct gui_window *g)
bool
gui_window_drag_start(struct gui_window *g, gui_drag_type type,
struct rect *rect)
const struct rect *rect)
{
return true;
}

View File

@ -989,7 +989,7 @@ bool gui_window_scroll_start(struct gui_window *g)
}
bool gui_window_drag_start(struct gui_window *g, gui_drag_type type,
struct rect *rect)
const struct rect *rect)
{
return true;
}

View File

@ -371,7 +371,7 @@ gui_window_remove_caret(struct gui_window *g)
bool
gui_window_drag_start(struct gui_window *g, gui_drag_type type,
struct rect *rect)
const struct rect *rect)
{
fprintf(stdout, "WINDOW SCROLL_START WIN %u TYPE %i\n);
return false;

View File

@ -1253,7 +1253,7 @@ bool gui_window_scroll_start(struct gui_window *g)
*/
bool gui_window_drag_start(struct gui_window *g, gui_drag_type type,
struct rect *rect)
const struct rect *rect)
{
wimp_pointer pointer;
os_error *error;

View File

@ -1719,7 +1719,7 @@ bool gui_window_scroll_start(struct gui_window *w)
}
bool gui_window_drag_start(struct gui_window *g, gui_drag_type type,
struct rect *rect)
const struct rect *rect)
{
return true;
}