From bf3ee089cb57765c48065423027eb4fffbe297f1 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 25 Apr 2016 23:11:55 +0100 Subject: use the miscellaneous table warning entry change all the frontends to provide the warning callback in the miscelaneous table instead of using the warn_user function. Changing all the warn_user callsites still requires completion. --- atari/gui.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'atari/gui.c') diff --git a/atari/gui.c b/atari/gui.c index 47b669353..810c7646f 100644 --- a/atari/gui.c +++ b/atari/gui.c @@ -1085,6 +1085,7 @@ static struct gui_fetch_table atari_fetch_table = { static struct gui_misc_table atari_misc_table = { .schedule = atari_schedule, + .warning = atari_warn_user, .quit = gui_quit, .cert_verify = gui_cert_verify, @@ -1193,7 +1194,7 @@ int main(int argc, char** argv) nsurl_unref(url); } if (ret != NSERROR_OK) { - warn_user(messages_get_errorcode(ret), 0); + atari_warn_user(messages_get_errorcode(ret), 0); } else { LOG("Entering Atari event mainloop..."); while (!atari_quit) { -- cgit v1.2.3