From 333d2020688b5c2f99efbdd17d20e97b29ea010b Mon Sep 17 00:00:00 2001 From: Steve Fryatt Date: Sun, 19 Dec 2010 18:22:09 +0000 Subject: Remove unnecessary duplicate parameter. svn path=/trunk/netsurf/; revision=11103 --- riscos/gui.c | 3 +-- riscos/treeview.c | 3 +-- riscos/treeview.h | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/riscos/gui.c b/riscos/gui.c index e0076c655..7cd75f037 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -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) diff --git a/riscos/treeview.c b/riscos/treeview.c index 78e6e9c42..7cf711677 100644 --- a/riscos/treeview.c +++ b/riscos/treeview.c @@ -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; diff --git a/riscos/treeview.h b/riscos/treeview.h index a60c760b2..7f4da9074 100644 --- a/riscos/treeview.h +++ b/riscos/treeview.h @@ -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); -- cgit v1.2.3