summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-09-02 18:57:43 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-09-02 18:57:43 +0100
commite9f65ff9cb60c94b43d4b875892918b90fb2a067 (patch)
tree355d18c889447484aef0afe46f0ec8d227d7e18d /gtk
parent4473f4b8a8b929c4c5e9dac3013da75f7c66865f (diff)
downloadnetsurf-e9f65ff9cb60c94b43d4b875892918b90fb2a067.tar.gz
netsurf-e9f65ff9cb60c94b43d4b875892918b90fb2a067.tar.bz2
Remove cookies, history_global, and hotlist_old _initialise and _cleanup functions.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/cookies.c4
-rw-r--r--gtk/history.c4
-rw-r--r--gtk/hotlist.c4
3 files changed, 0 insertions, 12 deletions
diff --git a/gtk/cookies.c b/gtk/cookies.c
index 7a199e7e3..4c56563a2 100644
--- a/gtk/cookies.c
+++ b/gtk/cookies.c
@@ -123,9 +123,6 @@ bool nsgtk_cookies_init(const char *glade_file_location)
CONNECT(window, "delete_event", gtk_widget_hide_on_delete, NULL);
CONNECT(window, "hide", nsgtk_tree_window_hide, cookies_window);
-
- cookies_initialise(nsgtk_treeview_get_tree(cookies_window),
- NULL, NULL);
nsgtk_cookies_init_menu();
@@ -156,7 +153,6 @@ void nsgtk_cookies_init_menu()
void nsgtk_cookies_destroy(void)
{
/* TODO: what about gladeFile? */
- cookies_cleanup();
nsgtk_treeview_destroy(cookies_window);
}
diff --git a/gtk/history.c b/gtk/history.c
index 7410a156d..bfdb90b35 100644
--- a/gtk/history.c
+++ b/gtk/history.c
@@ -126,9 +126,6 @@ bool nsgtk_history_init(const char *glade_file_location)
CONNECT(window, "delete_event", gtk_widget_hide_on_delete, NULL);
CONNECT(window, "hide", nsgtk_tree_window_hide, global_history_window);
- history_global_initialise(
- nsgtk_treeview_get_tree(global_history_window), NULL);
-
nsgtk_history_init_menu();
return true;
@@ -162,7 +159,6 @@ void nsgtk_history_init_menu(void)
void nsgtk_history_destroy(void)
{
/* TODO: what about gladeFile? */
- history_global_cleanup();
nsgtk_treeview_destroy(global_history_window);
}
diff --git a/gtk/hotlist.c b/gtk/hotlist.c
index 3a0bae9cf..618d9d42f 100644
--- a/gtk/hotlist.c
+++ b/gtk/hotlist.c
@@ -133,9 +133,6 @@ bool nsgtk_hotlist_init(const char *glade_file_location)
CONNECT(window, "delete_event", gtk_widget_hide_on_delete, NULL);
CONNECT(window, "hide", nsgtk_tree_window_hide, hotlist_window);
-
- hotlist_old_initialise(nsgtk_treeview_get_tree(hotlist_window),
- nsoption_charp(hotlist_path), NULL);
nsgtk_hotlist_init_menu();
@@ -168,7 +165,6 @@ void nsgtk_hotlist_init_menu(void)
void nsgtk_hotlist_destroy(void)
{
/* TODO: what about gladeFile? */
- hotlist_old_cleanup(nsoption_charp(hotlist_path));
nsgtk_treeview_destroy(hotlist_window);
}