summaryrefslogtreecommitdiff
path: root/riscos/configure.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-04-26 15:16:33 +0100
committerVincent Sanders <vince@kyllikki.org>2016-04-26 15:16:33 +0100
commit8fd04922cc25bfd2205881fc5d4220c84b2c6fe0 (patch)
tree807795da126c6d1a7617007016c8cd05ba90e4a3 /riscos/configure.c
parent6a36d4ec2b6fd8ac52da2c3883b4776aec14ba2d (diff)
downloadnetsurf-8fd04922cc25bfd2205881fc5d4220c84b2c6fe0.tar.gz
netsurf-8fd04922cc25bfd2205881fc5d4220c84b2c6fe0.tar.bz2
update RISC OS frontend to not use the depricated warn_user API
Diffstat (limited to 'riscos/configure.c')
-rw-r--r--riscos/configure.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/riscos/configure.c b/riscos/configure.c
index 62937b543..9953fb9b6 100644
--- a/riscos/configure.c
+++ b/riscos/configure.c
@@ -185,7 +185,7 @@ void ro_gui_configure_open_window(wimp_open *open)
struct configure_tool *tool;
if (!ro_gui_configure_translate()) {
- warn_user("ro_gui_configure_translate failed", 0);
+ ro_warn_user("ro_gui_configure_translate failed", 0);
return;
}
@@ -226,7 +226,7 @@ void ro_gui_configure_open_window(wimp_open *open)
0, -16384, 16384, 0);
if (error) {
LOG("xwimp_force_redraw: 0x%x: %s", error->errnum, error->errmess);
- warn_user("WimpError", error->errmess);
+ ro_warn_user("WimpError", error->errmess);
}
}
@@ -249,7 +249,7 @@ void ro_gui_configure_open_window(wimp_open *open)
error = xwimp_set_extent(open->w, &extent);
if (error) {
LOG("xwimp_set_extent: 0x%x: %s", error->errnum, error->errmess);
- warn_user("WimpError", error->errmess);
+ ro_warn_user("WimpError", error->errmess);
return;
}
configure_height = height;
@@ -260,7 +260,7 @@ void ro_gui_configure_open_window(wimp_open *open)
error = xwimp_open_window(open);
if (error) {
LOG("xwimp_open_window: 0x%x: %s", error->errnum, error->errmess);
- warn_user("WimpError", error->errmess);
+ ro_warn_user("WimpError", error->errmess);
return;
}
}