diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-07-02 17:30:52 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-07-02 17:30:52 +0100 |
commit | 4313d4c4ec8bc45886f0ace9bdfea3f529ba433d (patch) | |
tree | 0d46886ed3b781f53fae5a8a404ad8de88771515 /desktop/global_history.c | |
parent | 6014a35ed3cb767166d281566d3d7abc4d8ee932 (diff) | |
download | netsurf-4313d4c4ec8bc45886f0ace9bdfea3f529ba433d.tar.gz netsurf-4313d4c4ec8bc45886f0ace9bdfea3f529ba433d.tar.bz2 |
Make flags for suppress resize.
Diffstat (limited to 'desktop/global_history.c')
-rw-r--r-- | desktop/global_history.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop/global_history.c b/desktop/global_history.c index 29d744e0a..5196c1692 100644 --- a/desktop/global_history.c +++ b/desktop/global_history.c @@ -185,7 +185,8 @@ static nserror global_history_create_dir(enum global_history_folders f) relation, rel, &gh_ctx.folders[f].data, &gh_ctx.folders[f], - !gh_ctx.built); + gh_ctx.built ? TREE_CREATE_NONE : + TREE_CREATE_SUPPRESS_RESIZE); return err; } @@ -311,7 +312,8 @@ static nserror global_history_entry_insert(struct global_history_entry *e, err = treeview_create_node_entry(gh_ctx.tree, &(e->entry), parent, TREE_REL_FIRST_CHILD, e->data, e, - !gh_ctx.built); + gh_ctx.built ? TREE_CREATE_NONE : + TREE_CREATE_SUPPRESS_RESIZE); if (err != NSERROR_OK) { return err; } |