From e9f65ff9cb60c94b43d4b875892918b90fb2a067 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 2 Sep 2013 18:57:43 +0100 Subject: Remove cookies, history_global, and hotlist_old _initialise and _cleanup functions. --- amiga/cookies.c | 4 ---- amiga/history.c | 4 ---- amiga/hotlist.c | 4 ---- 3 files changed, 12 deletions(-) (limited to 'amiga') diff --git a/amiga/cookies.c b/amiga/cookies.c index c1f886804..0c3e9081c 100755 --- a/amiga/cookies.c +++ b/amiga/cookies.c @@ -26,14 +26,10 @@ void ami_cookies_initialise(void) cookies_window = ami_tree_create(TREE_COOKIES, NULL); if(!cookies_window) return; - - cookies_initialise(ami_tree_get_tree(cookies_window), - NULL, NULL); } void ami_cookies_free() { - cookies_cleanup(); ami_tree_destroy(cookies_window); cookies_window = NULL; } diff --git a/amiga/history.c b/amiga/history.c index 6206efdbd..8543d8d3e 100755 --- a/amiga/history.c +++ b/amiga/history.c @@ -27,14 +27,10 @@ void ami_global_history_initialise(void) global_history_window = ami_tree_create(TREE_HISTORY, NULL); if(!global_history_window) return; - - history_global_initialise(ami_tree_get_tree(global_history_window), - NULL); } void ami_global_history_free() { - history_global_cleanup(); ami_tree_destroy(global_history_window); global_history_window = NULL; } diff --git a/amiga/hotlist.c b/amiga/hotlist.c index fa93b46aa..1b195b4ea 100755 --- a/amiga/hotlist.c +++ b/amiga/hotlist.c @@ -60,16 +60,12 @@ void ami_hotlist_initialise(const char *hotlist_file) hotlist_window = ami_tree_create(TREE_HOTLIST, NULL); if(!hotlist_window) return; - - hotlist_old_initialise(ami_tree_get_tree(hotlist_window), - hotlist_file, NULL); ami_hotlist_add_default_dirs(ami_tree_get_tree(hotlist_window)); } void ami_hotlist_free(const char *hotlist_file) { - hotlist_old_cleanup(hotlist_file); ami_tree_destroy(hotlist_window); hotlist_window = NULL; } -- cgit v1.2.3