mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-25 19:04:21 +03:00
Global history finaliser does not need core_window stuff.
This commit is contained in:
parent
d6ee11de93
commit
146fea758f
@ -644,15 +644,9 @@ nserror global_history_init(struct core_window_callback_table *cw_t,
|
|||||||
return NSERROR_OK;
|
return NSERROR_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Finalises the global history module.
|
/* Exported interface, documented in global_history.h */
|
||||||
*
|
nserror global_history_fini(void)
|
||||||
* \param
|
|
||||||
* \param
|
|
||||||
* \return true on success, false on memory exhaustion
|
|
||||||
*/
|
|
||||||
nserror global_history_fini(struct core_window_callback_table *cw_t,
|
|
||||||
void *core_window_handle)
|
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
nserror err;
|
nserror err;
|
||||||
|
@ -46,12 +46,9 @@ nserror global_history_init(struct core_window_callback_table *cw_t,
|
|||||||
* internal data. After calling this if global history is required again,
|
* internal data. After calling this if global history is required again,
|
||||||
* global_history_init must be called.
|
* global_history_init must be called.
|
||||||
*
|
*
|
||||||
* \param cw_t Callback table for core_window containing the treeview
|
|
||||||
* \param cw The core_window in which the treeview is shown
|
|
||||||
* \return NSERROR_OK on success, appropriate error otherwise
|
* \return NSERROR_OK on success, appropriate error otherwise
|
||||||
*/
|
*/
|
||||||
nserror global_history_fini(struct core_window_callback_table *cw_t,
|
nserror global_history_fini(void);
|
||||||
void *core_window_handle);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Redraw the global history.
|
* Redraw the global history.
|
||||||
|
@ -226,7 +226,7 @@ static void treeview_test_fini(struct tree *tree)
|
|||||||
{
|
{
|
||||||
nserror err;
|
nserror err;
|
||||||
|
|
||||||
err = global_history_fini(&cw_t, (struct core_window *)tree);
|
err = global_history_fini();
|
||||||
|
|
||||||
treeview_fini();
|
treeview_fini();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user