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. --- riscos/cookies.c | 6 ------ riscos/global_history.c | 5 ----- riscos/gui.c | 3 --- riscos/hotlist.c | 6 ------ 4 files changed, 20 deletions(-) (limited to 'riscos') diff --git a/riscos/cookies.c b/riscos/cookies.c index 1eb084f98..eb74f515e 100644 --- a/riscos/cookies.c +++ b/riscos/cookies.c @@ -117,12 +117,6 @@ void ro_gui_cookies_postinitialise(void) ro_toolbar_update_client_data(cookies_window.toolbar, cookies_window.tv); - /* Initialise the cookies into the tree. */ - - cookies_initialise(ro_treeview_get_tree(cookies_window.tv), - NULL, NULL); - - /* Build the cookies window menu. */ static const struct ns_menu cookies_definition = { diff --git a/riscos/global_history.c b/riscos/global_history.c index a3ab0896d..3a060c02d 100644 --- a/riscos/global_history.c +++ b/riscos/global_history.c @@ -122,11 +122,6 @@ void ro_gui_global_history_postinitialise(void) ro_toolbar_update_client_data(global_history_window.toolbar, global_history_window.tv); - /* Initialise the global history into the tree. */ - - history_global_initialise( - ro_treeview_get_tree(global_history_window.tv), NULL); - /* Build the global history window menu. */ static const struct ns_menu global_history_definition = { diff --git a/riscos/gui.c b/riscos/gui.c index c402b887b..39a34de9a 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -932,9 +932,6 @@ void gui_quit(void) urldb_save_cookies(nsoption_charp(cookie_jar)); urldb_save(nsoption_charp(url_save)); ro_gui_window_quit(); - history_global_cleanup(); - cookies_cleanup(); - hotlist_old_cleanup(nsoption_charp(hotlist_save)); ro_gui_saveas_quit(); rufl_quit(); free(gui_sprites); diff --git a/riscos/hotlist.c b/riscos/hotlist.c index 28bac8371..721e532bb 100644 --- a/riscos/hotlist.c +++ b/riscos/hotlist.c @@ -141,12 +141,6 @@ void ro_gui_hotlist_postinitialise(void) ro_toolbar_update_client_data(hotlist_window.toolbar, hotlist_window.tv); - /* Initialise the hotlist into the tree. */ - - hotlist_old_initialise(ro_treeview_get_tree(hotlist_window.tv), - nsoption_charp(hotlist_path), NULL); - - /* Build the hotlist window menu. */ static const struct ns_menu hotlist_definition = { -- cgit v1.2.3