diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-04-26 15:16:33 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-04-26 15:16:33 +0100 |
commit | 8fd04922cc25bfd2205881fc5d4220c84b2c6fe0 (patch) | |
tree | 807795da126c6d1a7617007016c8cd05ba90e4a3 /riscos/query.c | |
parent | 6a36d4ec2b6fd8ac52da2c3883b4776aec14ba2d (diff) | |
download | netsurf-8fd04922cc25bfd2205881fc5d4220c84b2c6fe0.tar.gz netsurf-8fd04922cc25bfd2205881fc5d4220c84b2c6fe0.tar.bz2 |
update RISC OS frontend to not use the depricated warn_user API
Diffstat (limited to 'riscos/query.c')
-rw-r--r-- | riscos/query.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/riscos/query.c b/riscos/query.c index 178dcaf5b..1d7cf5120 100644 --- a/riscos/query.c +++ b/riscos/query.c @@ -156,7 +156,7 @@ query_id query_user_xy(const char *query, const char *detail, qw = malloc(sizeof(struct gui_query_window)); if (!qw) { - warn_user("NoMemory", NULL); + ro_warn_user("NoMemory", NULL); return QUERY_INVALID; } @@ -232,7 +232,7 @@ query_id query_user_xy(const char *query, const char *detail, error = xwimp_create_window(query_template, &qw->window); if (error) { - warn_user("WimpError", error->errmess); + ro_warn_user("WimpError", error->errmess); free(qw); return QUERY_INVALID; } @@ -264,7 +264,7 @@ query_id query_user_xy(const char *query, const char *detail, error = xwimp_set_caret_position(qw->window, (wimp_i)-1, 0, 0, 1 << 25, -1); if (error) { LOG("xwimp_get_caret_position: 0x%x : %s", error->errnum, error->errmess); - warn_user("WimpError", error->errmess); + ro_warn_user("WimpError", error->errmess); } /* put this query window at the head of our list */ @@ -308,7 +308,7 @@ void ro_gui_query_window_bring_to_front(query_id id) error = xwimp_set_caret_position(qw->window, (wimp_i)-1, 0, 0, 1 << 25, -1); if (error) { LOG("xwimp_get_caret_position: 0x%x : %s", error->errnum, error->errmess); - warn_user("WimpError", error->errmess); + ro_warn_user("WimpError", error->errmess); } } } @@ -328,7 +328,7 @@ void ro_gui_query_close(wimp_w w) error = xwimp_delete_window(qw->window); if (error) { LOG("xwimp_delete_window: 0x%x:%s", error->errnum, error->errmess); - warn_user("WimpError", error->errmess); + ro_warn_user("WimpError", error->errmess); } ro_gui_wimp_event_finalise(w); |