summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-09-02 18:57:43 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-09-02 18:57:43 +0100
commite9f65ff9cb60c94b43d4b875892918b90fb2a067 (patch)
tree355d18c889447484aef0afe46f0ec8d227d7e18d /amiga
parent4473f4b8a8b929c4c5e9dac3013da75f7c66865f (diff)
downloadnetsurf-e9f65ff9cb60c94b43d4b875892918b90fb2a067.tar.gz
netsurf-e9f65ff9cb60c94b43d4b875892918b90fb2a067.tar.bz2
Remove cookies, history_global, and hotlist_old _initialise and _cleanup functions.
Diffstat (limited to 'amiga')
-rwxr-xr-xamiga/cookies.c4
-rwxr-xr-xamiga/history.c4
-rwxr-xr-xamiga/hotlist.c4
3 files changed, 0 insertions, 12 deletions
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;
}