From 68938664411ac2ee82e39e11fe855a6cd1b32c7c Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 26 Apr 2016 21:51:47 +0100 Subject: update gtk to stop using depricated warn_user API --- gtk/download.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk/download.c') 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", -- cgit v1.2.3