From a5ab7ee5b799408602ef15322082ceaa77d21863 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sat, 15 Dec 2007 21:56:23 +0000 Subject: [PATCH] Don't depend on program handler if building without wget support. --- apps/webbrowser/www.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/webbrowser/www.c b/apps/webbrowser/www.c index ea2592668..c4c14b980 100644 --- a/apps/webbrowser/www.c +++ b/apps/webbrowser/www.c @@ -29,7 +29,7 @@ * * This file is part of the Contiki desktop environment * - * $Id: www.c,v 1.6 2007/11/30 16:09:40 oliverschmidt Exp $ + * $Id: www.c,v 1.7 2007/12/15 21:56:23 oliverschmidt Exp $ * */ @@ -39,7 +39,9 @@ #include "contiki-net.h" #include "lib/petsciiconv.h" #include "sys/arg.h" +#if WWW_CONF_WITH_WGET #include "program-handler.h" +#endif /* WWW_CONF_WITH_WGET */ #include "webclient.h" #include "htmlparser.h" @@ -172,7 +174,6 @@ static void formsubmit(struct formattribs *attribs); static void make_window(void) { - CTK_WIDGET_ADD(&mainwindow, &backbutton); CTK_WIDGET_ADD(&mainwindow, &downbutton); CTK_WIDGET_ADD(&mainwindow, &stopbutton);