summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-05-31 21:02:29 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-05-31 21:02:29 +0100
commitd3b8a493af8caac8563685d2094123ba7e2c65bd (patch)
tree890d16baa7fc55d87e58683bb2e62c8470d4b9e9
parente684218169c5580795a2a2637f45d58c470189ac (diff)
downloadnetsurf-d3b8a493af8caac8563685d2094123ba7e2c65bd.tar.gz
netsurf-d3b8a493af8caac8563685d2094123ba7e2c65bd.tar.bz2
cw handle can't be const.
-rw-r--r--desktop/treeview.c4
-rw-r--r--desktop/treeview.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/desktop/treeview.c b/desktop/treeview.c
index bf36a603b..de731f298 100644
--- a/desktop/treeview.c
+++ b/desktop/treeview.c
@@ -97,7 +97,7 @@ struct treeview {
const struct treeview_callback_table *callbacks;
const struct core_window_callback_table *cw_t; /**< Core window callback table */
- const struct core_window *cw_h; /**< Core window handle */
+ struct core_window *cw_h; /**< Core window handle */
};
@@ -461,7 +461,7 @@ nserror treeview_create(struct treeview **tree,
const struct treeview_callback_table *callbacks,
int n_fields, struct treeview_field_desc fields[],
const struct core_window_callback_table *cw_t,
- const struct core_window *cw)
+ struct core_window *cw)
{
nserror error;
int i;
diff --git a/desktop/treeview.h b/desktop/treeview.h
index 6969ea60a..2f4e0c80d 100644
--- a/desktop/treeview.h
+++ b/desktop/treeview.h
@@ -86,7 +86,7 @@ nserror treeview_create(struct treeview **tree,
const struct treeview_callback_table *callbacks,
int n_fields, struct treeview_field_desc fields[],
const struct core_window_callback_table *cw_t,
- const struct core_window *cw);
+ struct core_window *cw);
nserror treeview_destroy(struct treeview *tree);