From ec02cf9e4c560c38321b594cb95f9f7c22172f8e Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 18 Jun 2013 16:04:14 +0100 Subject: Remove unused function. --- desktop/treeview.c | 9 --------- desktop/treeview.h | 2 -- 2 files changed, 11 deletions(-) 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 * -- cgit v1.2.3