diff options
author | Vincent Sanders <vince@kyllikki.org> | 2023-12-02 13:01:25 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2023-12-02 13:01:25 +0000 |
commit | 6550da2bc452d71790dd7a439ad651ed7bcc19eb (patch) | |
tree | b227df46c3491e197bbc05ea468ce86c5547c5aa /frontends/gtk/download.c | |
parent | f68aca93b7e9f5dd05f1e49ba8ae70ada3ef3d1f (diff) | |
download | netsurf-6550da2bc452d71790dd7a439ad651ed7bcc19eb.tar.gz netsurf-6550da2bc452d71790dd7a439ad651ed7bcc19eb.tar.bz2 |
GTK4 investigation - read teh comments in compat.h - and forget itvince/gtk4
Diffstat (limited to 'frontends/gtk/download.c')
-rw-r--r-- | frontends/gtk/download.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/gtk/download.c b/frontends/gtk/download.c index 173d2e46e..ed46a8b53 100644 --- a/frontends/gtk/download.c +++ b/frontends/gtk/download.c @@ -20,7 +20,6 @@ #include <string.h> #include <math.h> -#include <gtk/gtk.h> #include <glib/gstdio.h> #include "utils/log.h" @@ -32,6 +31,7 @@ #include "desktop/download.h" #include "netsurf/download.h" +#include "gtk/compat.h" #include "gtk/warn.h" #include "gtk/scaffolding.h" #include "gtk/toolbar_items.h" @@ -639,7 +639,7 @@ nsgtk_download_dialog_show(const gchar *filename, NULL); gtk_file_chooser_set_current_name (GTK_FILE_CHOOSER(dialog), filename); - gtk_file_chooser_set_current_folder + nsgtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER(dialog), nsoption_charp(downloads_directory)); gtk_file_chooser_set_do_overwrite_confirmation |