summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-09-02 14:17:09 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-09-02 14:17:09 +0100
commit5c7ca39ada083e74ba93549efe71c67c906d91bc (patch)
treec9254cc3fe6a0790215523654f66a8f366e97b3e /riscos
parent28a948bd32bee735f571ae7f297adb69b289d8ba (diff)
downloadnetsurf-5c7ca39ada083e74ba93549efe71c67c906d91bc.tar.gz
netsurf-5c7ca39ada083e74ba93549efe71c67c906d91bc.tar.bz2
Remove tree_url_node module. Had to disable treeview scanning in amiga and cocoa front ends. Amiga front end very likely broken.
Diffstat (limited to 'riscos')
-rw-r--r--riscos/gui.c1
-rw-r--r--riscos/treeview.c23
2 files changed, 0 insertions, 24 deletions
diff --git a/riscos/gui.c b/riscos/gui.c
index a312b3843..d450b6dac 100644
--- a/riscos/gui.c
+++ b/riscos/gui.c
@@ -63,7 +63,6 @@
#include "utils/nsoption.h"
#include "desktop/save_complete.h"
#include "desktop/tree.h"
-#include "desktop/tree_url_node.h"
#include "render/font.h"
#include "riscos/content-handlers/artworks.h"
#include "riscos/bitmap.h"
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;
- }
-}
-