summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--riscos/gui.c3
-rw-r--r--riscos/treeview.c3
-rw-r--r--riscos/treeview.h2
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);