summaryrefslogtreecommitdiff
path: root/desktop/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/tree.c')
-rw-r--r--desktop/tree.c20
1 files changed, 0 insertions, 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;