diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2010-12-14 18:54:20 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2010-12-14 18:54:20 +0000 |
commit | f6b0a33fd286c190814fb9e6c835f27552ad3186 (patch) | |
tree | 23687b1a26c512e8bc735cd0720801c12d57c850 /gtk/gtk_history.c | |
parent | b550f27f4b62cdf8ec91e416670f7fc4dc60f6e6 (diff) | |
download | netsurf-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_history.c')
-rw-r--r-- | gtk/gtk_history.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gtk/gtk_history.c b/gtk/gtk_history.c index 62cc798e5..09f945963 100644 --- a/gtk/gtk_history.c +++ b/gtk/gtk_history.c @@ -89,16 +89,14 @@ static GladeXML *gladeFile; GtkWindow *wndHistory; -/** - * Creates the window for the global history tree. - */ -bool nsgtk_history_init(void) +/* exported interface, documented in gtk_history.h */ +bool nsgtk_history_init(const char *glade_file_location) { GtkWindow *window; GtkScrolledWindow *scrolled; GtkDrawingArea *drawing_area; - gladeFile = glade_xml_new(glade_history_file_location, NULL, NULL); + gladeFile = glade_xml_new(glade_file_location, NULL, NULL); if (gladeFile == NULL) return false; |