diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/cookies_old.c | 25 | ||||
-rw-r--r-- | desktop/cookies_old.h | 4 | ||||
-rw-r--r-- | desktop/history_global_core.c | 26 | ||||
-rw-r--r-- | desktop/history_global_core.h | 3 | ||||
-rw-r--r-- | desktop/hotlist_old.c | 21 | ||||
-rw-r--r-- | desktop/hotlist_old.h | 12 |
6 files changed, 0 insertions, 91 deletions
diff --git a/desktop/cookies_old.c b/desktop/cookies_old.c index bd3adece6..7981e910e 100644 --- a/desktop/cookies_old.c +++ b/desktop/cookies_old.c @@ -39,31 +39,6 @@ #include "utils/url.h" #include "utils/utils.h" -/** - * Initialises cookies tree. - * - * \param data user data for the callbacks - * \param start_redraw callback function called before every redraw - * \param end_redraw callback function called after every redraw - * \return true on success, false on memory exhaustion - */ -bool cookies_initialise(struct tree *tree, const char* folder_icon_name, const char* cookie_icon_name) -{ - - if (tree == NULL) - return false; - - return true; -} - - -/** - * Free memory and release all other resources. - */ -void cookies_cleanup(void) -{ -} - /* Actions to be connected to front end specific toolbars */ /** diff --git a/desktop/cookies_old.h b/desktop/cookies_old.h index 78998bcc1..dba5f1710 100644 --- a/desktop/cookies_old.h +++ b/desktop/cookies_old.h @@ -27,10 +27,6 @@ #include "desktop/tree.h" -bool cookies_initialise(struct tree *tree, const char* folder_icon_name, const char* cookie_icon_name); - -void cookies_cleanup(void); - void cookies_delete_selected(void); void cookies_delete_all(void); void cookies_select_all(void); diff --git a/desktop/history_global_core.c b/desktop/history_global_core.c index cb889dc11..1f788adc3 100644 --- a/desktop/history_global_core.c +++ b/desktop/history_global_core.c @@ -33,32 +33,6 @@ #include "utils/log.h" - -/** - * Initialises the global history tree. - * - * \param data user data for the callbacks - * \param start_redraw callback function called before every redraw - * \param end_redraw callback function called after every redraw - * \return true on success, false on memory exhaustion - */ -bool history_global_initialise(struct tree *tree, const char* folder_icon_name) -{ - if (tree == NULL) - return false; - - return true; -} - - -/** - * Deletes the global history tree. - */ -void history_global_cleanup(void) -{ -} - - /* Actions to be connected to front end specific toolbars */ /** diff --git a/desktop/history_global_core.h b/desktop/history_global_core.h index 0e6168235..29b3f09c9 100644 --- a/desktop/history_global_core.h +++ b/desktop/history_global_core.h @@ -24,9 +24,6 @@ #include "desktop/tree.h" -bool history_global_initialise(struct tree *tree, const char* folder_icon_name); -void history_global_cleanup(void); - bool history_global_export(const char *path); void history_global_delete_selected(void); void history_global_delete_all(void); diff --git a/desktop/hotlist_old.c b/desktop/hotlist_old.c index b09ace3c9..a2c094a16 100644 --- a/desktop/hotlist_old.c +++ b/desktop/hotlist_old.c @@ -35,27 +35,6 @@ #include "utils/utils.h" #include "utils/log.h" - - -/* exported interface documented in hotlist.h */ -bool hotlist_old_initialise(struct tree *tree, const char *hotlist_path, - const char* folder_icon_name) -{ - if (tree == NULL) - return false; - - return true; -} - - -/** - * Deletes the global history tree and saves the hotlist. - * \param hotlist_path the path where the hotlist should be saved - */ -void hotlist_old_cleanup(const char *hotlist_path) -{ -} - /** * Save the hotlist in a human-readable form under the given location. * diff --git a/desktop/hotlist_old.h b/desktop/hotlist_old.h index b063677ca..9e88d847e 100644 --- a/desktop/hotlist_old.h +++ b/desktop/hotlist_old.h @@ -30,18 +30,6 @@ #include "desktop/tree.h" -/** - * Initialise the hotlist from a frontend. - * - * \param tree The tree object which holds the hotlist. - * \param hotlist_path The file path to initialise the hotlist entries from. - * \param folder_icon_name The name to use for folder icons. - */ -bool hotlist_old_initialise(struct tree *tree, const char *hotlist_path, const char* folder_icon_name); - -void hotlist_old_cleanup(const char *hotlist_path); - - bool hotlist_old_export(const char *path); void hotlist_old_edit_selected(void); void hotlist_old_delete_selected(void); |