diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-04-30 11:34:45 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-04-30 11:34:45 +0100 |
commit | 545644f23d388467e7cd3ce7562f1ff3e7ae6c29 (patch) | |
tree | 710b5e8f39582a6336734678568dae5c820b41fc /atari/ctxmenu.c | |
parent | 03566a1182809c00b1df4060645d17315e55660f (diff) | |
download | netsurf-545644f23d388467e7cd3ce7562f1ff3e7ae6c29.tar.gz netsurf-545644f23d388467e7cd3ce7562f1ff3e7ae6c29.tar.bz2 |
update atari frontend to remove usage of depricated warn_user API
Diffstat (limited to 'atari/ctxmenu.c')
-rw-r--r-- | atari/ctxmenu.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/atari/ctxmenu.c b/atari/ctxmenu.c index aecf3d1dc..0343b20c7 100644 --- a/atari/ctxmenu.c +++ b/atari/ctxmenu.c @@ -24,6 +24,7 @@ #include "content/hlcache.h" #include "atari/gui.h" +#include "atari/misc.h" #include "atari/rootwin.h" #include "atari/clipboard.h" #include "atari/gemtk/gemtk.h" @@ -237,7 +238,7 @@ void context_popup(struct gui_window * gw, short x, short y) NULL); if (error != NSERROR_OK) { - warn_user(messages_get_errorcode(error), 0); + atari_warn_user(messages_get_errorcode(error), 0); } } @@ -271,7 +272,7 @@ void context_popup(struct gui_window * gw, short x, short y) gw->browser->bw, NULL); if (error != NSERROR_OK) { - warn_user(messages_get_errorcode(error), 0); + atari_warn_user(messages_get_errorcode(error), 0); } } break; |