From 7053638a721a505f8c2dccb9aec3801c31841b5b Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 16 Nov 2014 15:33:11 +0000 Subject: Remove some more cyclic references --- amiga/context_menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'amiga') diff --git a/amiga/context_menu.c b/amiga/context_menu.c index e9d10851f..81ea701ec 100644 --- a/amiga/context_menu.c +++ b/amiga/context_menu.c @@ -693,7 +693,7 @@ void ami_context_menu_show(struct gui_window_2 *gwin,int x,int y) if(!menuhascontent) return; - gui_window_set_pointer(gwin->gw->bw->window, GUI_POINTER_DEFAULT); + gui_window_set_pointer(gwin->gw, GUI_POINTER_DEFAULT); IDoMethod(ctxmenuobj, PM_OPEN, gwin->win); } @@ -957,7 +957,7 @@ static uint32 ami_context_menu_hook(struct Hook *hook,Object *item,APTR reserved case CMID_SELALL: browser_window_key_press(gwin->gw->bw, KEY_SELECT_ALL); - gui_start_selection(gwin->gw->bw->window); + gui_start_selection(gwin->gw); break; case CMID_SELCLEAR: -- cgit v1.2.3