summaryrefslogtreecommitdiff
path: root/gtk/hotlist.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-03-22 09:34:34 +0000
committerVincent Sanders <vince@netsurf-browser.org>2012-03-22 09:34:34 +0000
commit1490b52a6b96b6a69a0c4fe9e0515dc717425128 (patch)
tree8caba44a9da98e6cebf4f188e3232534b1596a4d /gtk/hotlist.c
parent0797bf5a5731b2c8d55105b453530584ea4e1f5b (diff)
downloadnetsurf-1490b52a6b96b6a69a0c4fe9e0515dc717425128.tar.gz
netsurf-1490b52a6b96b6a69a0c4fe9e0515dc717425128.tar.bz2
NetSurf options rework (a=vince r=daniels,jmb)
svn path=/trunk/netsurf/; revision=13548
Diffstat (limited to 'gtk/hotlist.c')
-rw-r--r--gtk/hotlist.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/hotlist.c b/gtk/hotlist.c
index e3c6b7068..dc95866db 100644
--- a/gtk/hotlist.c
+++ b/gtk/hotlist.c
@@ -23,7 +23,6 @@
#include "desktop/tree.h"
#include "gtk/gui.h"
#include "gtk/hotlist.h"
-#include "gtk/options.h"
#include "gtk/plotters.h"
#include "gtk/scaffolding.h"
#include "gtk/treeview.h"
@@ -131,7 +130,7 @@ bool nsgtk_hotlist_init(const char *glade_file_location)
CONNECT(window, "hide", nsgtk_tree_window_hide, hotlist_window);
hotlist_initialise(nsgtk_treeview_get_tree(hotlist_window),
- option_hotlist_path,
+ nsoption_charp(hotlist_path),
tree_directory_icon_name);
nsgtk_hotlist_init_menu();
@@ -163,7 +162,7 @@ void nsgtk_hotlist_init_menu(void)
void nsgtk_hotlist_destroy(void)
{
/* TODO: what about gladeFile? */
- hotlist_cleanup(option_hotlist_path);
+ hotlist_cleanup(nsoption_charp(hotlist_path));
nsgtk_treeview_destroy(hotlist_window);
}