From 47379c04442c805af95ba16b9932fbdb549a7594 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Fri, 30 Dec 2016 13:06:42 +0000 Subject: Update treeviews to use event callback --- frontends/amiga/gui.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'frontends/amiga/gui.h') diff --git a/frontends/amiga/gui.h b/frontends/amiga/gui.h index da60c6749..b76efdce4 100644 --- a/frontends/amiga/gui.h +++ b/frontends/amiga/gui.h @@ -107,7 +107,7 @@ struct ami_win_event_table { struct ami_generic_window { struct nsObject *node; - struct ami_win_event_table *tbl; + const struct ami_win_event_table *tbl; }; struct gui_window_2 { @@ -276,7 +276,7 @@ void ami_gui_switch_to_new_tab(struct gui_window_2 *gwin); /** * Add a window to the NetSurf window list (to enable event processing) */ -nserror ami_gui_win_list_add(void *win, int type, struct ami_win_event_table *table); +nserror ami_gui_win_list_add(void *win, int type, const struct ami_win_event_table *table); /** * Remove a window from the NetSurf window list -- cgit v1.2.3