From 5c7ca39ada083e74ba93549efe71c67c906d91bc Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 2 Sep 2013 14:17:09 +0100 Subject: Remove tree_url_node module. Had to disable treeview scanning in amiga and cocoa front ends. Amiga front end very likely broken. --- gtk/treeview.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'gtk/treeview.c') diff --git a/gtk/treeview.c b/gtk/treeview.c index d836eb6b1..8a4c73c2d 100644 --- a/gtk/treeview.c +++ b/gtk/treeview.c @@ -29,7 +29,6 @@ #include #include "desktop/tree.h" -#include "desktop/tree_url_node.h" #include "desktop/plotters.h" #include "gtk/compat.h" #include "gtk/gui.h" @@ -88,26 +87,6 @@ static void nsgtk_tree_resized(struct tree *tree, int width, int height, void *d return; } -/** - * Translates a content_type to the name of a respective icon - * - * \param content_type content type - * \param buffer buffer for the icon name - */ -void tree_icon_name_from_content_type(char *buffer, content_type type) -{ - // TODO: design/acquire icons - switch (type) { - case CONTENT_HTML: - case CONTENT_TEXTPLAIN: - case CONTENT_CSS: - case CONTENT_IMAGE: - default: - sprintf(buffer, tree_content_icon_name); - break; - } -} - /** * Scrolls the tree to make an element visible * -- cgit v1.2.3