From 54f719aa960159c5b1978846223732c9669ca7fa Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Thu, 31 Jan 2013 19:22:35 +0100 Subject: Some more finetuning... --- atari/history.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'atari/history.c') 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")); -- cgit v1.2.3