diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-11-16 15:33:11 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-11-16 15:33:11 +0000 |
commit | 7053638a721a505f8c2dccb9aec3801c31841b5b (patch) | |
tree | 5de564ca2ed36e68ba0baf6ab2bb030ce28103b8 /amiga/context_menu.c | |
parent | 668aa3d84b8678902b93d3c75581c6556e9b025c (diff) | |
download | netsurf-7053638a721a505f8c2dccb9aec3801c31841b5b.tar.gz netsurf-7053638a721a505f8c2dccb9aec3801c31841b5b.tar.bz2 |
Remove some more cyclic references
Diffstat (limited to 'amiga/context_menu.c')
-rw-r--r-- | amiga/context_menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
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: |