summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
Diffstat (limited to 'riscos')
-rw-r--r--riscos/cookies.c3
-rw-r--r--riscos/global_history.c3
-rw-r--r--riscos/hotlist.c3
-rw-r--r--riscos/treeview.c4
-rw-r--r--riscos/treeview.h4
5 files changed, 3 insertions, 14 deletions
diff --git a/riscos/cookies.c b/riscos/cookies.c
index ea961e2dc..1eb084f98 100644
--- a/riscos/cookies.c
+++ b/riscos/cookies.c
@@ -120,8 +120,7 @@ void ro_gui_cookies_postinitialise(void)
/* Initialise the cookies into the tree. */
cookies_initialise(ro_treeview_get_tree(cookies_window.tv),
- tree_directory_icon_name,
- tree_content_icon_name);
+ NULL, NULL);
/* Build the cookies window menu. */
diff --git a/riscos/global_history.c b/riscos/global_history.c
index 704f80426..a3ab0896d 100644
--- a/riscos/global_history.c
+++ b/riscos/global_history.c
@@ -125,8 +125,7 @@ void ro_gui_global_history_postinitialise(void)
/* Initialise the global history into the tree. */
history_global_initialise(
- ro_treeview_get_tree(global_history_window.tv),
- tree_directory_icon_name);
+ ro_treeview_get_tree(global_history_window.tv), NULL);
/* Build the global history window menu. */
diff --git a/riscos/hotlist.c b/riscos/hotlist.c
index a0a1cf61d..28bac8371 100644
--- a/riscos/hotlist.c
+++ b/riscos/hotlist.c
@@ -144,8 +144,7 @@ void ro_gui_hotlist_postinitialise(void)
/* Initialise the hotlist into the tree. */
hotlist_old_initialise(ro_treeview_get_tree(hotlist_window.tv),
- nsoption_charp(hotlist_path),
- tree_directory_icon_name);
+ nsoption_charp(hotlist_path), NULL);
/* Build the hotlist window menu. */
diff --git a/riscos/treeview.c b/riscos/treeview.c
index 004091abe..479a857cc 100644
--- a/riscos/treeview.c
+++ b/riscos/treeview.c
@@ -60,10 +60,6 @@
#define wimp_KEY_END wimp_KEY_COPY
#endif
-/** \todo Ugh! */
-const char tree_directory_icon_name[] = "directory.png";
-const char tree_content_icon_name[] = "content.png";
-
struct ro_treeview
{
struct tree *tree; /*< Pointer to treeview tree block. */
diff --git a/riscos/treeview.h b/riscos/treeview.h
index 0745e00c3..77505ac66 100644
--- a/riscos/treeview.h
+++ b/riscos/treeview.h
@@ -31,10 +31,6 @@
#include "desktop/tree.h"
#include "riscos/toolbar.h"
-/* defined in front end code */
-extern const char tree_directory_icon_name[];
-extern const char tree_content_icon_name[];
-
typedef struct ro_treeview ro_treeview;
struct ro_treeview_callbacks {