From fadaa306d019d89f86478e9918b9bb2b43fa9ea2 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 2 Sep 2013 12:46:33 +0100 Subject: [PATCH] Always redirect to the new treeview implementations. --- desktop/tree.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/desktop/tree.c b/desktop/tree.c index 8966be33f..607d12ba0 100644 --- a/desktop/tree.c +++ b/desktop/tree.c @@ -272,10 +272,6 @@ static bool treeview_test_init(struct tree *tree) return true; } - /* Check if we're testing the new treeview */ - if (nsoption_bool(temp_treeview_test) == false) - return false; - treeview_inits++; if (treeview_inits == 1) @@ -321,10 +317,6 @@ static bool treeview_test_fini(struct tree *tree) return true; } - /* Check if we're testing the new treeview */ - if (nsoption_bool(temp_treeview_test) == false) - return false; - if (tree->flags & TREE_COOKIES) { err = cookie_manager_fini(); if (err != NSERROR_OK) { @@ -367,10 +359,6 @@ static bool treeview_test_redraw(struct tree *tree, int x, int y, return true; } - /* Check if we're testing the new treeview */ - if (nsoption_bool(temp_treeview_test) == false) - return false; - if (tree->flags & TREE_COOKIES) { cookie_manager_redraw(x, y, &clip, ctx); return true; @@ -395,10 +383,6 @@ static bool treeview_test_mouse_action(struct tree *tree, return true; } - /* Check if we're testing the new treeview */ - if (nsoption_bool(temp_treeview_test) == false) - return false; - if (tree->flags & TREE_COOKIES) { cookie_manager_mouse_action(mouse, x, y); return true; @@ -422,10 +406,6 @@ static bool treeview_test_keypress(struct tree *tree, uint32_t key) return true; } - /* Check if we're testing the new treeview */ - if (nsoption_bool(temp_treeview_test) == false) - return false; - if (tree->flags & TREE_COOKIES) { cookie_manager_keypress(key); return true;