summaryrefslogtreecommitdiff
path: root/riscos/treeview.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/treeview.c')
-rw-r--r--riscos/treeview.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/riscos/treeview.c b/riscos/treeview.c
index 77276633e..5d1126b2e 100644
--- a/riscos/treeview.c
+++ b/riscos/treeview.c
@@ -40,7 +40,6 @@
#include "desktop/plotters.h"
#include "desktop/textinput.h"
#include "desktop/tree.h"
-#include "desktop/tree_url_node.h"
#include "riscos/bitmap.h"
#include "riscos/dialog.h"
#include "riscos/gui.h"
@@ -1294,25 +1293,3 @@ int ro_treeview_get_help(help_full_message_request *message_data)
return -1;
}
-/**
- * Convert a content type into an icon name.
- *
- * \todo -- Currently we don't have any icons apart from the default.
- *
- * \param *buffer A buffer to return the icon name
- * \param type The content type to return an icon name for.
- */
-
-void tree_icon_name_from_content_type(char *buffer, content_type type)
-{
- switch (type) {
- case CONTENT_HTML:
- case CONTENT_TEXTPLAIN:
- case CONTENT_CSS:
- case CONTENT_IMAGE:
- default:
- sprintf(buffer, tree_content_icon_name);
- break;
- }
-}
-