diff --git a/desktop/treeview.c b/desktop/treeview.c index 615a76c02..b51fd54de 100644 --- a/desktop/treeview.c +++ b/desktop/treeview.c @@ -1551,12 +1551,3 @@ nserror treeview_fini(void) return NSERROR_OK; } - - -struct treeview_node * treeview_get_root(struct treeview *tree) -{ - assert(tree != NULL); - assert(tree->root != NULL); - - return tree->root; -} diff --git a/desktop/treeview.h b/desktop/treeview.h index 0bcd7bc01..da6216f64 100644 --- a/desktop/treeview.h +++ b/desktop/treeview.h @@ -242,8 +242,6 @@ void treeview_redraw(struct treeview *tree, int x, int y, struct rect *clip, void treeview_mouse_action(struct treeview *tree, browser_mouse_state mouse, int x, int y); -struct treeview_node * treeview_get_root(struct treeview *tree); - /** * Determine whether treeview has a selection *