summaryrefslogtreecommitdiff
path: root/gtk
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 /gtk
parent49c7994d0580a655ddcc78e07205eea45d74132c (diff)
downloadnetsurf-4473f4b8a8b929c4c5e9dac3013da75f7c66865f.tar.gz
netsurf-4473f4b8a8b929c4c5e9dac3013da75f7c66865f.tar.bz2
Remove tree icon_name globals from all the front ends.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/cookies.c3
-rw-r--r--gtk/history.c3
-rw-r--r--gtk/hotlist.c3
-rw-r--r--gtk/treeview.c3
-rw-r--r--gtk/treeview.h4
5 files changed, 3 insertions, 13 deletions
diff --git a/gtk/cookies.c b/gtk/cookies.c
index f8b2b7d35..7a199e7e3 100644
--- a/gtk/cookies.c
+++ b/gtk/cookies.c
@@ -125,8 +125,7 @@ bool nsgtk_cookies_init(const char *glade_file_location)
CONNECT(window, "hide", nsgtk_tree_window_hide, cookies_window);
cookies_initialise(nsgtk_treeview_get_tree(cookies_window),
- tree_directory_icon_name,
- tree_content_icon_name);
+ NULL, NULL);
nsgtk_cookies_init_menu();
diff --git a/gtk/history.c b/gtk/history.c
index ae0282312..7410a156d 100644
--- a/gtk/history.c
+++ b/gtk/history.c
@@ -127,8 +127,7 @@ bool nsgtk_history_init(const char *glade_file_location)
CONNECT(window, "hide", nsgtk_tree_window_hide, global_history_window);
history_global_initialise(
- nsgtk_treeview_get_tree(global_history_window),
- tree_directory_icon_name);
+ nsgtk_treeview_get_tree(global_history_window), NULL);
nsgtk_history_init_menu();
diff --git a/gtk/hotlist.c b/gtk/hotlist.c
index 2975998c4..3a0bae9cf 100644
--- a/gtk/hotlist.c
+++ b/gtk/hotlist.c
@@ -135,8 +135,7 @@ bool nsgtk_hotlist_init(const char *glade_file_location)
CONNECT(window, "hide", nsgtk_tree_window_hide, hotlist_window);
hotlist_old_initialise(nsgtk_treeview_get_tree(hotlist_window),
- nsoption_charp(hotlist_path),
- tree_directory_icon_name);
+ nsoption_charp(hotlist_path), NULL);
nsgtk_hotlist_init_menu();
diff --git a/gtk/treeview.c b/gtk/treeview.c
index 8fc53c335..2a4732a87 100644
--- a/gtk/treeview.c
+++ b/gtk/treeview.c
@@ -49,9 +49,6 @@ struct nsgtk_treeview {
struct tree *tree;
};
-const char tree_directory_icon_name[] = "directory.png";
-const char tree_content_icon_name[] = "content.png";
-
void nsgtk_treeview_destroy(struct nsgtk_treeview *tv)
{
tree_delete(tv->tree);
diff --git a/gtk/treeview.h b/gtk/treeview.h
index 4c94da498..12eb18096 100644
--- a/gtk/treeview.h
+++ b/gtk/treeview.h
@@ -26,10 +26,6 @@
#include "desktop/browser.h"
-/* defined in front end code */
-extern const char tree_directory_icon_name[];
-extern const char tree_content_icon_name[];
-
struct nsgtk_treeview;
struct nsgtk_treeview *nsgtk_treeview_create(unsigned int flags,