Remove unnecessary duplicate parameter.

svn path=/trunk/netsurf/; revision=11103
This commit is contained in:
Steve Fryatt 2010-12-19 18:22:09 +00:00
parent ae920bfb34
commit 333d202068
3 changed files with 3 additions and 5 deletions

View File

@ -1127,8 +1127,7 @@ void ro_gui_null_reason_code(void)
if (ro_gui_global_history_check_window(gui_track_wimp_w) ||
ro_gui_hotlist_check_window(gui_track_wimp_w) ||
ro_gui_cookies_check_window(gui_track_wimp_w))
ro_treeview_mouse_at(gui_track_wimp_w,
&pointer);
ro_treeview_mouse_at(&pointer);
if (gui_track_wimp_w == history_window)
ro_gui_history_mouse_at(&pointer);
if (gui_track_wimp_w == dialog_url_complete)

View File

@ -801,11 +801,10 @@ static bool ro_treeview_mouse_click(wimp_pointer *pointer)
/**
* Track the mouse under Null Polls from the wimp, to support dragging.
*
* \param w Window handle currently under the mouse.
* \param *pointer Pointer to a Wimp Pointer block.
*/
void ro_treeview_mouse_at(wimp_w w, wimp_pointer *pointer)
void ro_treeview_mouse_at(wimp_pointer *pointer)
{
os_error *error;
ro_treeview *tv;

View File

@ -49,7 +49,7 @@ wimp_w ro_treeview_get_window(ro_treeview *tv);
bool ro_treeview_has_selection(ro_treeview *tv);
void ro_treeview_set_origin(ro_treeview *tv, int x, int y);
void ro_treeview_mouse_at(wimp_w w, wimp_pointer *pointer);
void ro_treeview_mouse_at(wimp_pointer *pointer);
void ro_treeview_drag_end(wimp_dragged *drag);
void ro_treeview_update_theme(ro_treeview *tv);
void ro_treeview_update_toolbar(ro_treeview *tv);