diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-05-31 19:59:58 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-05-31 19:59:58 +0100 |
commit | 864762cbe60d04ba978ddbd9bf125240dd26f631 (patch) | |
tree | a085bc0b97366812442234c22679e241fbe3c70c /desktop/tree.c | |
parent | 9b39408dffe09940589c2f00026c0e605d836b78 (diff) | |
parent | fe2a80fe109e0e8dc60957ded5a93b39f429e1f1 (diff) | |
download | netsurf-864762cbe60d04ba978ddbd9bf125240dd26f631.tar.gz netsurf-864762cbe60d04ba978ddbd9bf125240dd26f631.tar.bz2 |
Merge branch 'chris/gadtools-53-5'
Diffstat (limited to 'desktop/tree.c')
-rw-r--r-- | desktop/tree.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/desktop/tree.c b/desktop/tree.c index 25bd9488b..2e35b5bf8 100644 --- a/desktop/tree.c +++ b/desktop/tree.c @@ -1552,6 +1552,17 @@ const char *tree_node_element_get_text(struct node_element *element) /** + * Returns the node element's icon + * + * \return the node element's icon + */ +struct bitmap *tree_node_element_get_icon(struct node_element *element) +{ + return element->bitmap; +} + + +/** * Get the root node of a tree * * \param tree the tree to get the root of |