summaryrefslogtreecommitdiff
path: root/gtk/gtk_download.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2010-12-14 18:54:20 +0000
committerVincent Sanders <vince@netsurf-browser.org>2010-12-14 18:54:20 +0000
commitf6b0a33fd286c190814fb9e6c835f27552ad3186 (patch)
tree23687b1a26c512e8bc735cd0720801c12d57c850 /gtk/gtk_download.c
parentb550f27f4b62cdf8ec91e416670f7fc4dc60f6e6 (diff)
downloadnetsurf-f6b0a33fd286c190814fb9e6c835f27552ad3186.tar.gz
netsurf-f6b0a33fd286c190814fb9e6c835f27552ad3186.tar.bz2
make the history, download, hotlist and cookies initialisation actually use the generic glade file finding code instead of their own thing and erroring out.
svn path=/trunk/netsurf/; revision=11055
Diffstat (limited to 'gtk/gtk_download.c')
-rw-r--r--gtk/gtk_download.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtk_download.c b/gtk/gtk_download.c
index 4d58f389d..a91f25188 100644
--- a/gtk/gtk_download.c
+++ b/gtk/gtk_download.c
@@ -84,11 +84,11 @@ static gboolean nsgtk_download_handle_error (GError *error);
-bool nsgtk_download_init()
+bool nsgtk_download_init(const char *glade_file_location)
{
GladeXML *gladeFile;
- gladeFile = glade_xml_new(glade_downloads_file_location, NULL, NULL);
+ gladeFile = glade_xml_new(glade_file_location, NULL, NULL);
if (gladeFile == NULL)
return false;