From f477fd257023c0c0a464e3cc4d5ff0bd49a5c469 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 3 Sep 2013 14:44:53 +0100 Subject: Remove height getters from treeview client modules API. --- desktop/cookie_manager.c | 7 ------- desktop/cookie_manager.h | 7 ------- desktop/global_history.c | 7 ------- desktop/global_history.h | 7 ------- desktop/hotlist.c | 7 ------- desktop/hotlist.h | 7 ------- desktop/sslcert_viewer.c | 7 ------- desktop/sslcert_viewer.h | 7 ------- 8 files changed, 56 deletions(-) (limited to 'desktop') diff --git a/desktop/cookie_manager.c b/desktop/cookie_manager.c index c2ccb0ac4..13c6ac93b 100644 --- a/desktop/cookie_manager.c +++ b/desktop/cookie_manager.c @@ -856,13 +856,6 @@ bool cookie_manager_has_selection(void) } -/* Exported interface, documented in cookie_manager.h */ -int cookie_manager_get_height(void) -{ - return treeview_get_height(cm_ctx.tree); -} - - /* Exported interface, documented in cookie_manager.h */ nserror cookie_manager_expand(bool only_folders) { diff --git a/desktop/cookie_manager.h b/desktop/cookie_manager.h index 86111f349..aa61a3e65 100644 --- a/desktop/cookie_manager.h +++ b/desktop/cookie_manager.h @@ -109,13 +109,6 @@ void cookie_manager_keypress(uint32_t key); */ bool cookie_manager_has_selection(void); -/** - * Find current height - * - * \return height in px - */ -int cookie_manager_get_height(void); - /** * Expand the treeview's nodes * diff --git a/desktop/global_history.c b/desktop/global_history.c index a4919e981..e0c8e39d8 100644 --- a/desktop/global_history.c +++ b/desktop/global_history.c @@ -963,13 +963,6 @@ bool global_history_has_selection(void) } -/* Exported interface, documented in global_history.h */ -int global_history_get_height(void) -{ - return treeview_get_height(gh_ctx.tree); -} - - /* Exported interface, documented in global_history.h */ nserror global_history_expand(bool only_folders) { diff --git a/desktop/global_history.h b/desktop/global_history.h index 9e0b74963..4ebe13980 100644 --- a/desktop/global_history.h +++ b/desktop/global_history.h @@ -109,13 +109,6 @@ void global_history_keypress(uint32_t key); */ bool global_history_has_selection(void); -/** - * Find current height - * - * \return height in px - */ -int global_history_get_height(void); - /** * Expand the treeview's nodes * diff --git a/desktop/hotlist.c b/desktop/hotlist.c index 70453ccd9..9f981387c 100644 --- a/desktop/hotlist.c +++ b/desktop/hotlist.c @@ -1420,13 +1420,6 @@ void hotlist_edit_selection(void) } -/* Exported interface, documented in hotlist.h */ -int hotlist_get_height(void) -{ - return treeview_get_height(hl_ctx.tree); -} - - /* Exported interface, documented in hotlist.h */ nserror hotlist_expand(bool only_folders) { diff --git a/desktop/hotlist.h b/desktop/hotlist.h index ff95d660b..121eb95ef 100644 --- a/desktop/hotlist.h +++ b/desktop/hotlist.h @@ -157,13 +157,6 @@ bool hotlist_has_selection(void); */ void hotlist_edit_selection(void); -/** - * Find current height - * - * \return height in px - */ -int hotlist_get_height(void); - /** * Expand the treeview's nodes * diff --git a/desktop/sslcert_viewer.c b/desktop/sslcert_viewer.c index f1cfcca14..e0e87fbbe 100644 --- a/desktop/sslcert_viewer.c +++ b/desktop/sslcert_viewer.c @@ -504,10 +504,3 @@ void sslcert_viewer_keypress(struct sslcert_session_data *ssl_d, { treeview_keypress(ssl_d->tree, key); } - - -/* Exported interface, documented in sslcert_viewer.h */ -int sslcert_viewer_get_height(struct sslcert_session_data *ssl_d) -{ - return treeview_get_height(ssl_d->tree); -} diff --git a/desktop/sslcert_viewer.h b/desktop/sslcert_viewer.h index 002e919ff..e02f095f5 100644 --- a/desktop/sslcert_viewer.h +++ b/desktop/sslcert_viewer.h @@ -125,11 +125,4 @@ void sslcert_viewer_mouse_action(struct sslcert_session_data *ssl_d, void sslcert_viewer_keypress(struct sslcert_session_data *ssl_d, uint32_t key); -/** - * Find current height - * - * \return height in px - */ -int sslcert_viewer_get_height(struct sslcert_session_data *ssl_d); - #endif -- cgit v1.2.3