summaryrefslogtreecommitdiff
path: root/atari/history.c
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2013-01-31 19:22:35 +0100
committerOle Loots <ole@monochrom.net>2013-01-31 19:22:35 +0100
commit54f719aa960159c5b1978846223732c9669ca7fa (patch)
treed190c128e66a7d98a1e6f8d0e77477499627d928 /atari/history.c
parent577ff3cffc5fb99041c5da2d828b1f25cfb13dc9 (diff)
downloadnetsurf-54f719aa960159c5b1978846223732c9669ca7fa.tar.gz
netsurf-54f719aa960159c5b1978846223732c9669ca7fa.tar.bz2
Some more finetuning...
Diffstat (limited to 'atari/history.c')
-rwxr-xr-xatari/history.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/atari/history.c b/atari/history.c
index 6d52c4e91..aa32cbf7e 100755
--- a/atari/history.c
+++ b/atari/history.c
@@ -83,7 +83,7 @@ static short handle_event(GUIWIN *win, EVMULT_OUT *ev_out, short msg[8])
{
NSTREEVIEW tv=NULL;
- printf("Hotlist event %d, open: %d\n", ev_out->emo_events, gl_history.open);
+ //printf("Hotlist event %d, open: %d\n", ev_out->emo_events, gl_history.open);
if(ev_out->emo_events & MU_MESAG){
switch (msg[0]) {
@@ -121,6 +121,8 @@ bool global_history_init( void )
gl_history.tv = atari_treeview_create(history_global_get_tree_flags(),
gl_history.window, handle_event);
+ gemtk_wm_unlink(gl_history.window);
+
if (gl_history.tv == NULL) {
/* TODO: handle it properly, clean up previous allocs */
LOG(("Failed to allocate history treeview"));