summaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2005-04-17 16:42:05 +0000
committerJames Bursa <james@netsurf-browser.org>2005-04-17 16:42:05 +0000
commit6af1e81e52af25cdb03d06b2fe4cc87691768c1f (patch)
tree9f518eba09cb440439a9335441425625aa73c5d8 /debug
parentfb8a9434ef9c9c1f568caa4189e6e311563b6f6c (diff)
downloadnetsurf-6af1e81e52af25cdb03d06b2fe4cc87691768c1f.tar.gz
netsurf-6af1e81e52af25cdb03d06b2fe4cc87691768c1f.tar.bz2
[project @ 2005-04-17 16:42:05 by bursa]
Fix the debug and gtk builds. svn path=/import/netsurf/; revision=1661
Diffstat (limited to 'debug')
-rw-r--r--debug/netsurfd.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/debug/netsurfd.c b/debug/netsurfd.c
index b5b72efde..645d43aa8 100644
--- a/debug/netsurfd.c
+++ b/debug/netsurfd.c
@@ -27,6 +27,8 @@ int done, destroyed;
bool print_active = false;
void *hotlist_toolbar = NULL;
void *hotlist_window = NULL;
+struct browser_window *current_redraw_browser = NULL;
+struct gui_window *search_current_window = NULL;
#ifndef riscos
char *default_stylesheet_url;
@@ -75,7 +77,8 @@ int main(int argc, char *argv[])
c = fetchcache(url, callback, 0, 0, 1000, 1000, false,
0, 0, true, false);
if (c) {
- fetchcache_go(c, 0, callback, 0, 0, 0, 0, true);
+ fetchcache_go(c, 0, callback, 0, 0, 1000, 1000,
+ 0, 0, true);
done = c->status == CONTENT_STATUS_DONE;
while (!done)
fetch_poll();
@@ -185,3 +188,10 @@ void schedule(int t, void (*callback)(void *p), void *p) {}
void schedule_remove(void (*callback)(void *p), void *p) {}
void schedule_run(void) {}
#endif
+
+bool selection_highlighted(struct selection *s, struct box *box,
+ unsigned *start_idx, unsigned *end_idx) { return false; }
+bool gui_search_term_highlighted(struct gui_window *g, struct box *box,
+ unsigned *start_idx, unsigned *end_idx) { return false; }
+
+const char *local_encoding_name(void) { return "ISO-8859-1"; }