diff options
author | Ole Loots <ole@monochrom.net> | 2013-01-31 19:22:35 +0100 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2013-01-31 19:22:35 +0100 |
commit | 54f719aa960159c5b1978846223732c9669ca7fa (patch) | |
tree | d190c128e66a7d98a1e6f8d0e77477499627d928 /atari/hotlist.c | |
parent | 577ff3cffc5fb99041c5da2d828b1f25cfb13dc9 (diff) | |
download | netsurf-54f719aa960159c5b1978846223732c9669ca7fa.tar.gz netsurf-54f719aa960159c5b1978846223732c9669ca7fa.tar.bz2 |
Some more finetuning...
Diffstat (limited to 'atari/hotlist.c')
-rwxr-xr-x | atari/hotlist.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/atari/hotlist.c b/atari/hotlist.c index ede5814e7..3684a9a85 100755 --- a/atari/hotlist.c +++ b/atari/hotlist.c @@ -89,7 +89,7 @@ static short handle_event(GUIWIN *win, EVMULT_OUT *ev_out, short msg[8]) break; case WM_CLOSED: - hotlist_destroy(); + hotlist_close(); break; default: break; @@ -129,6 +129,7 @@ void hotlist_init(void) } wind_set_str(handle, WF_NAME, (char*)messages_get("Hotlist")); gemtk_wm_set_toolbar(hl.window, tree, 0, 0); + gemtk_wm_unlink(hl.window); hl.tv = atari_treeview_create( hotlist_get_tree_flags(), hl.window, @@ -181,7 +182,7 @@ void hotlist_close(void) { wind_close(gemtk_wm_get_handle(hl.window)); hl.open = false; - atari_treeview_close( hl.tv ); + atari_treeview_close(hl.tv); } void hotlist_destroy(void) @@ -197,7 +198,7 @@ void hotlist_destroy(void) wind_delete(gemtk_wm_get_handle(hl.window)); gemtk_wm_remove(hl.window); hl.window = NULL; - atari_treeview_destroy( hl.tv ); + atari_treeview_destroy(hl.tv); hl.init = false; } LOG(("done")); |