summaryrefslogtreecommitdiff
path: root/gtk/gtk_history.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtk_history.c')
-rw-r--r--gtk/gtk_history.c8
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;