From b6c6d7777277caf99ade1389c180f4a428b4a1c6 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 20 Feb 2006 02:29:19 +0000 Subject: [project @ 2006-02-20 02:29:19 by jmb] Fix GTK build svn path=/import/netsurf/; revision=2086 --- gtk/gtk_gui.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gtk') diff --git a/gtk/gtk_gui.c b/gtk/gtk_gui.c index b5eaf767b..56fc29b77 100644 --- a/gtk/gtk_gui.c +++ b/gtk/gtk_gui.c @@ -56,11 +56,11 @@ void gui_init(int argc, char** argv) options_read(buf); if (!option_cookie_file) { - snprintf(buf, sizeof buf, "%s/.netsurf/Cookies"); + snprintf(buf, sizeof buf, "%s/.netsurf/Cookies", home); option_cookie_file = strdup(buf); } if (!option_cookie_jar) { - snprintf(buf, sizeof buf, "%s/.netsurf/Cookies"); + snprintf(buf, sizeof buf, "%s/.netsurf/Cookies", home); option_cookie_jar = strdup(buf); } if (!option_cookie_file || !option_cookie_jar) @@ -189,7 +189,8 @@ void gui_launch_url(const char *url) } -bool gui_search_term_highlighted(struct gui_window *g, struct box *box, +bool gui_search_term_highlighted(struct gui_window *g, + unsigned start_offset, unsigned end_offset, unsigned *start_idx, unsigned *end_idx) { return false; -- cgit v1.2.3