From 17abee0045e51b72a1dda9de0c187c71c252fc56 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 25 Jul 2013 15:06:09 +0100 Subject: Namespace treeview node callback table. --- desktop/global_history.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop/global_history.c b/desktop/global_history.c index b9a575468..902d87980 100644 --- a/desktop/global_history.c +++ b/desktop/global_history.c @@ -709,7 +709,7 @@ static nserror global_history_tree_node_entry_cb( } return NSERROR_OK; } -struct treeview_callback_table tree_cb_t = { +struct treeview_callback_table gh_tree_cb_t = { .folder = global_history_tree_node_folder_cb, .entry = global_history_tree_node_entry_cb }; @@ -741,7 +741,7 @@ nserror global_history_init(struct core_window_callback_table *cw_t, urldb_iterate_entries(global_history_add_entry); /* Create the global history treeview */ - err = treeview_create(&gh_ctx.tree, &tree_cb_t, + err = treeview_create(&gh_ctx.tree, &gh_tree_cb_t, N_FIELDS, gh_ctx.fields, cw_t, core_window_handle, TREEVIEW_NO_MOVES | TREEVIEW_DEL_EMPTY_DIRS); -- cgit v1.2.3