diff options
Diffstat (limited to 'gtk/treeview.c')
-rw-r--r-- | gtk/treeview.c | 21 |
1 files changed, 0 insertions, 21 deletions
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 <gdk/gdkkeysyms.h> #include "desktop/tree.h" -#include "desktop/tree_url_node.h" #include "desktop/plotters.h" #include "gtk/compat.h" #include "gtk/gui.h" @@ -89,26 +88,6 @@ static void nsgtk_tree_resized(struct tree *tree, int width, int height, void *d } /** - * 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 * * \param y Y coordinate of the element |