diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-11-16 15:42:45 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-11-16 15:42:45 +0000 |
commit | 456734a5c251a9b381ce59711406a872c4966d65 (patch) | |
tree | 62bcce5b45f769c6c8cbf985aebe0147e45cb2cd /amiga/history_local.h | |
parent | 7053638a721a505f8c2dccb9aec3801c31841b5b (diff) | |
download | netsurf-456734a5c251a9b381ce59711406a872c4966d65.tar.gz netsurf-456734a5c251a9b381ce59711406a872c4966d65.tar.bz2 |
Stop history_local accessing gui_window via browser_window, and remove some unneeded globals
Diffstat (limited to 'amiga/history_local.h')
-rwxr-xr-x | amiga/history_local.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/amiga/history_local.h b/amiga/history_local.h index 8f64920b8..bc1cc79da 100755 --- a/amiga/history_local.h +++ b/amiga/history_local.h @@ -27,12 +27,20 @@ struct history_window { struct nsObject *node; struct Window *win; Object *objects[GID_LAST]; - struct browser_window *bw; + struct gui_window *gw; struct Hook scrollerhook; struct gui_globals gg; }; -void ami_history_open(struct browser_window *bw, struct history *history); +/** + * Open history window. + * + * \param gw gui_window to open history for + * \param history history to open + */ +void ami_history_open(struct gui_window *gw, struct history *history); + void ami_history_close(struct history_window *hw); BOOL ami_history_event(struct history_window *hw); #endif + |