From 97010ecef521de524846734e093db89a18f81f62 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Fri, 10 May 2019 20:59:30 +0100 Subject: Make screen pointer accesible through an accessor function only --- frontends/amiga/hotlist.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'frontends/amiga/hotlist.c') diff --git a/frontends/amiga/hotlist.c b/frontends/amiga/hotlist.c index e8cf3a14c..f8df8c823 100644 --- a/frontends/amiga/hotlist.c +++ b/frontends/amiga/hotlist.c @@ -251,7 +251,7 @@ ami_hotlist_drag_end(struct ami_corewindow *ami_cw, int x, int y) } if((ok == false) || (url == NULL)) { - DisplayBeep(scrn); + ami_gui_beep(); } else if(url) { if((gwin = ami_window_at_pointer(AMINS_WINDOW))) { browser_window_navigate(ami_gui2_get_browser_window(gwin), @@ -313,7 +313,7 @@ HOOKF(void, ami_hotlist_menu_item_project_export, APTR, window, struct IntuiMess ASLFR_Window, ami_cw->win, ASLFR_SleepWindow, TRUE, ASLFR_TitleText, messages_get("NetSurf"), - ASLFR_Screen, scrn, + ASLFR_Screen, ami_gui_get_screen(), ASLFR_InitialFile, "hotlist.html", TAG_DONE)) { strlcpy(fname, savereq->fr_Drawer, 1024); @@ -487,7 +487,7 @@ ami_hotlist_create_window(struct ami_hotlist_window *hotlist_win) WA_Left, nsoption_int(hotlist_window_xpos), WA_Width, nsoption_int(hotlist_window_xsize), WA_Height, nsoption_int(hotlist_window_ysize), - WA_PubScreen, scrn, + WA_PubScreen, ami_gui_get_screen(), WA_ReportMouse, TRUE, refresh_mode, TRUE, WA_IDCMP, IDCMP_MOUSEMOVE | IDCMP_MOUSEBUTTONS | IDCMP_NEWSIZE | -- cgit v1.2.3