summaryrefslogtreecommitdiff
path: root/atari/toolbar.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-04-30 11:34:45 +0100
committerVincent Sanders <vince@kyllikki.org>2016-04-30 11:34:45 +0100
commit545644f23d388467e7cd3ce7562f1ff3e7ae6c29 (patch)
tree710b5e8f39582a6336734678568dae5c820b41fc /atari/toolbar.c
parent03566a1182809c00b1df4060645d17315e55660f (diff)
downloadnetsurf-545644f23d388467e7cd3ce7562f1ff3e7ae6c29.tar.gz
netsurf-545644f23d388467e7cd3ce7562f1ff3e7ae6c29.tar.bz2
update atari frontend to remove usage of depricated warn_user API
Diffstat (limited to 'atari/toolbar.c')
-rw-r--r--atari/toolbar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/atari/toolbar.c b/atari/toolbar.c
index eefab5fc3..f630332da 100644
--- a/atari/toolbar.c
+++ b/atari/toolbar.c
@@ -699,7 +699,7 @@ bool toolbar_key_input(struct s_toolbar *tb, short nkc)
if ( textarea_get_text( tb->url.textarea, tmp_url, PATH_MAX) > 0 ) {
window_set_focus(tb->owner, BROWSER, gw->browser);
if (nsurl_create((const char*)&tmp_url, &url) != NSERROR_OK) {
- warn_user("NoMemory", 0);
+ atari_warn_user("NoMemory", 0);
} else {
browser_window_navigate(gw->browser->bw, url, NULL,
BW_NAVIGATE_HISTORY,
@@ -977,7 +977,7 @@ void toolbar_home_click(struct s_toolbar *tb)
}
if (nsurl_create(use_url, &url) != NSERROR_OK) {
- warn_user("NoMemory", 0);
+ atari_warn_user("NoMemory", 0);
} else {
browser_window_navigate(bw,
url,