From 6a36d4ec2b6fd8ac52da2c3883b4776aec14ba2d Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 26 Apr 2016 12:50:16 +0100 Subject: remove all core usage of warn_user API --- render/html.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'render/html.c') diff --git a/render/html.c b/render/html.c index 68eb11cd2..c809ee159 100644 --- a/render/html.c +++ b/render/html.c @@ -51,6 +51,7 @@ #include "desktop/browser.h" #include "desktop/gui_utf8.h" #include "desktop/gui_layout.h" +#include "desktop/gui_misc.h" #include "desktop/gui_internal.h" #include "render/box.h" @@ -2078,7 +2079,7 @@ static bool html_drop_file_at_point(struct content *c, int x, int y, char *file) assert(ret != NSERROR_BAD_ENCODING); LOG("local to utf8 encoding failed"); free(buffer); - warn_user("NoMemory", NULL); + guit->misc->warning("NoMemory", NULL); return true; } -- cgit v1.2.3