diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-04-26 21:51:47 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-04-26 21:51:47 +0100 |
commit | 68938664411ac2ee82e39e11fe855a6cd1b32c7c (patch) | |
tree | c6bf827cb37f7dfa947bea87644896d459e0a208 /gtk/download.c | |
parent | 8fd04922cc25bfd2205881fc5d4220c84b2c6fe0 (diff) | |
download | netsurf-68938664411ac2ee82e39e11fe855a6cd1b32c7c.tar.gz netsurf-68938664411ac2ee82e39e11fe855a6cd1b32c7c.tar.bz2 |
update gtk to stop using depricated warn_user API
Diffstat (limited to 'gtk/download.c')
-rw-r--r-- | gtk/download.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/download.c b/gtk/download.c index 195f68952..b7eea2584 100644 --- a/gtk/download.c +++ b/gtk/download.c @@ -32,6 +32,7 @@ #include "desktop/download.h" #include "desktop/gui_download.h" +#include "gtk/warn.h" #include "gtk/scaffolding.h" #include "gtk/window.h" #include "gtk/compat.h" @@ -637,7 +638,7 @@ static gchar* nsgtk_download_dialog_show (const gchar *filename, const gchar *do destination = malloc(strlen(nsoption_charp(downloads_directory)) + strlen(filename) + SLEN("/") + 1); if (destination == NULL) { - warn_user(messages_get("NoMemory"), 0); + nsgtk_warning(messages_get("NoMemory"), 0); break; } sprintf(destination, "%s/%s", |