diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2010-12-14 00:18:24 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2010-12-14 00:18:24 +0000 |
commit | 60c840628f4f2aebc86adea495258be1ecc738e8 (patch) | |
tree | 45a947044dbf5629d0c928ad7f82321060ee2dc7 /desktop/history_global_core.c | |
parent | 67556f54feaba380bb48459beb9b85329e67fc7c (diff) | |
download | netsurf-60c840628f4f2aebc86adea495258be1ecc738e8.tar.gz netsurf-60c840628f4f2aebc86adea495258be1ecc738e8.tar.bz2 |
Small refactor to change icon names to being passed in from frontends instead of core treeview globals
svn path=/trunk/netsurf/; revision=11053
Diffstat (limited to 'desktop/history_global_core.c')
-rw-r--r-- | desktop/history_global_core.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |