From cefcce0197b98be11575670aaca84357ec917b11 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 24 Jul 2011 11:40:08 +0000 Subject: 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 --- desktop/tree_url_node.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'desktop/tree_url_node.h') 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); -- cgit v1.2.3