summaryrefslogtreecommitdiff
path: root/frontends/amiga/hotlist.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2019-05-10 20:59:30 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2019-05-10 20:59:30 +0100
commit97010ecef521de524846734e093db89a18f81f62 (patch)
tree03e7f949b32cd4d4c8e643278477b4a6ac63c84c /frontends/amiga/hotlist.c
parentc5a07fac76313c2d2d6348dee20d881a639c40c8 (diff)
downloadnetsurf-97010ecef521de524846734e093db89a18f81f62.tar.gz
netsurf-97010ecef521de524846734e093db89a18f81f62.tar.bz2
Make screen pointer accesible through an accessor function only
Diffstat (limited to 'frontends/amiga/hotlist.c')
-rw-r--r--frontends/amiga/hotlist.c6
1 files changed, 3 insertions, 3 deletions
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 |