diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-09-02 12:46:33 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-09-02 12:46:33 +0100 |
commit | fadaa306d019d89f86478e9918b9bb2b43fa9ea2 (patch) | |
tree | 3818797eb642ccf03f239a3a10cc2a90b500df6e /desktop/tree.c | |
parent | 5d76b448b1fdff056255ed4b000b521591e5b955 (diff) | |
download | netsurf-fadaa306d019d89f86478e9918b9bb2b43fa9ea2.tar.gz netsurf-fadaa306d019d89f86478e9918b9bb2b43fa9ea2.tar.bz2 |
Always redirect to the new treeview implementations.
Diffstat (limited to 'desktop/tree.c')
-rw-r--r-- | desktop/tree.c | 20 |
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; |