summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-09-02 16:39:46 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-09-02 16:39:46 +0100
commit4473f4b8a8b929c4c5e9dac3013da75f7c66865f (patch)
tree5fae4e4345613546698ba512e0c43d047f6e0ec8 /amiga
parent49c7994d0580a655ddcc78e07205eea45d74132c (diff)
downloadnetsurf-4473f4b8a8b929c4c5e9dac3013da75f7c66865f.tar.gz
netsurf-4473f4b8a8b929c4c5e9dac3013da75f7c66865f.tar.bz2
Remove tree icon_name globals from all the front ends.
Diffstat (limited to 'amiga')
-rwxr-xr-xamiga/cookies.c3
-rw-r--r--amiga/gui.c2
-rwxr-xr-xamiga/history.c2
-rwxr-xr-xamiga/hotlist.c3
-rwxr-xr-xamiga/tree.h4
5 files changed, 3 insertions, 11 deletions
diff --git a/amiga/cookies.c b/amiga/cookies.c
index a095a6e11..c1f886804 100755
--- a/amiga/cookies.c
+++ b/amiga/cookies.c
@@ -28,8 +28,7 @@ void ami_cookies_initialise(void)
if(!cookies_window) return;
cookies_initialise(ami_tree_get_tree(cookies_window),
- tree_directory_icon_name,
- tree_content_icon_name);
+ NULL, NULL);
}
void ami_cookies_free()
diff --git a/amiga/gui.c b/amiga/gui.c
index 9f870435f..6a9e6d24d 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -162,8 +162,6 @@ struct Hook newprefs_hook;
static char *current_user;
static char *current_user_dir;
-const char tree_directory_icon_name[] = "def_drawer.info";
-const char tree_content_icon_name[] = "def_project.info";
static const __attribute__((used)) char *stack_cookie = "\0$STACK:131072\0";
const char * const versvn;
diff --git a/amiga/history.c b/amiga/history.c
index 23a6a709f..6206efdbd 100755
--- a/amiga/history.c
+++ b/amiga/history.c
@@ -29,7 +29,7 @@ void ami_global_history_initialise(void)
if(!global_history_window) return;
history_global_initialise(ami_tree_get_tree(global_history_window),
- tree_directory_icon_name);
+ NULL);
}
void ami_global_history_free()
diff --git a/amiga/hotlist.c b/amiga/hotlist.c
index daea82093..fa93b46aa 100755
--- a/amiga/hotlist.c
+++ b/amiga/hotlist.c
@@ -62,8 +62,7 @@ void ami_hotlist_initialise(const char *hotlist_file)
if(!hotlist_window) return;
hotlist_old_initialise(ami_tree_get_tree(hotlist_window),
- hotlist_file,
- tree_directory_icon_name);
+ hotlist_file, NULL);
ami_hotlist_add_default_dirs(ami_tree_get_tree(hotlist_window));
}
diff --git a/amiga/tree.h b/amiga/tree.h
index 179b61afd..d8d50fe1a 100755
--- a/amiga/tree.h
+++ b/amiga/tree.h
@@ -25,10 +25,6 @@
#include "amiga/gui.h"
#include "desktop/tree.h"
-/* defined in front end code */
-extern const char tree_directory_icon_name[];
-extern const char tree_content_icon_name[];
-
struct treeview_window;
enum