summaryrefslogtreecommitdiff
path: root/desktop/tree_url_node.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-07-24 11:40:08 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-07-24 11:40:08 +0000
commitcefcce0197b98be11575670aaca84357ec917b11 (patch)
treed31a24f7229df55aa974a8f5e5f2f5be01ea57db /desktop/tree_url_node.h
parentf75b0fca4318a0dd29295e2cb1538760e1afdebf (diff)
downloadnetsurf-cefcce0197b98be11575670aaca84357ec917b11.tar.gz
netsurf-cefcce0197b98be11575670aaca84357ec917b11.tar.bz2
Shared URL nodes in the treeview actually want to be readonly. They certainly have no business not copying transient data.
svn path=/trunk/netsurf/; revision=12623
Diffstat (limited to 'desktop/tree_url_node.h')
-rw-r--r--desktop/tree_url_node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/tree_url_node.h b/desktop/tree_url_node.h
index 6d62895e4..15243e93d 100644
--- a/desktop/tree_url_node.h
+++ b/desktop/tree_url_node.h
@@ -32,12 +32,12 @@ void tree_url_node_cleanup(void);
struct node *tree_create_URL_node(struct tree *tree,
struct node *parent, const char *url, const char *title,
tree_node_user_callback, void *callback_data);
-struct node *tree_create_URL_node_shared(struct tree *tree,
+struct node *tree_create_URL_node_readonly(struct tree *tree,
struct node *parent, const char *url,
const struct url_data *data,
tree_node_user_callback, void *callback_data);
void tree_update_URL_node(struct tree *tree,struct node *node,
- const char *url, const struct url_data *data, bool shared);
+ const char *url, const struct url_data *data);
const char *tree_url_node_get_title(struct node *node);
const char *tree_url_node_get_url(struct node *node);
void tree_url_node_edit_title(struct tree *tree, struct node *node);