mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 07:19:37 +03:00
LOG init/fini messages.
This commit is contained in:
parent
06f852151e
commit
4cc0d9c233
@ -3828,6 +3828,8 @@ nserror treeview_init(int font_pt_size)
|
||||
if (tree_g.initialised == true)
|
||||
return NSERROR_OK;
|
||||
|
||||
LOG(("Initialising treeview module"));
|
||||
|
||||
if (font_pt_size <= 0)
|
||||
font_pt_size = 11;
|
||||
|
||||
@ -3846,9 +3848,10 @@ nserror treeview_init(int font_pt_size)
|
||||
tree_g.icon_step = 23;
|
||||
tree_g.move_offset = 18;
|
||||
|
||||
|
||||
tree_g.initialised = true;
|
||||
|
||||
LOG(("Initialised treeview module"));
|
||||
|
||||
return NSERROR_OK;
|
||||
}
|
||||
|
||||
@ -3858,6 +3861,8 @@ nserror treeview_fini(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
LOG(("Finalising treeview module"));
|
||||
|
||||
for (i = 0; i < TREE_RES_LAST; i++) {
|
||||
hlcache_handle_release(treeview_res[i].c);
|
||||
}
|
||||
@ -3873,5 +3878,7 @@ nserror treeview_fini(void)
|
||||
|
||||
tree_g.initialised = false;
|
||||
|
||||
LOG(("Finalised treeview module"));
|
||||
|
||||
return NSERROR_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user