From 60c840628f4f2aebc86adea495258be1ecc738e8 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 14 Dec 2010 00:18:24 +0000 Subject: Small refactor to change icon names to being passed in from frontends instead of core treeview globals svn path=/trunk/netsurf/; revision=11053 --- desktop/history_global_core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'desktop/history_global_core.c') diff --git a/desktop/history_global_core.c b/desktop/history_global_core.c index 3589346ed..771928467 100644 --- a/desktop/history_global_core.c +++ b/desktop/history_global_core.c @@ -278,10 +278,10 @@ static bool history_global_initialise_nodes(void) * \param end_redraw callback function called after every redraw * \return true on success, false on memory exhaustion */ -bool history_global_initialise(struct tree *tree) +bool history_global_initialise(struct tree *tree, const char* folder_icon_name) { - folder_icon = tree_load_icon(tree_directory_icon_name); - tree_url_node_init(); + folder_icon = tree_load_icon(folder_icon_name); + tree_url_node_init(folder_icon_name); if (tree == NULL) return false; -- cgit v1.2.3