From 08177fa58119f9e67fdffb32ee20dbf05bd4fa78 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Thu, 10 Jun 2004 20:41:26 +0000 Subject: [project @ 2004-06-10 20:41:26 by bursa] Add global content list. Better error handling in content code. Improved code documentation. Remove some obsolete functions. Implement debug window listing contents. svn path=/import/netsurf/; revision=951 --- desktop/netsurf.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'desktop/netsurf.c') diff --git a/desktop/netsurf.c b/desktop/netsurf.c index 106a33193..21f01177e 100644 --- a/desktop/netsurf.c +++ b/desktop/netsurf.c @@ -54,6 +54,7 @@ void netsurf_init(int argc, char** argv) struct utsname utsname; stdout = stderr; + curl_memdebug("memdump"); if (uname(&utsname) != 0) LOG(("Failed to extract machine information\n")); else @@ -63,12 +64,6 @@ void netsurf_init(int argc, char** argv) fetch_init(); cache_init(); fetchcache_init(); -#ifdef WITH_PNG - nspng_init(); -#endif -#ifdef WITH_GIF - nsgif_init(); -#endif url_init(); } @@ -79,8 +74,9 @@ void netsurf_init(int argc, char** argv) void netsurf_poll(void) { - gui_poll(fetch_active); - fetch_poll(); + content_clean(); + gui_poll(fetch_active); + fetch_poll(); } -- cgit v1.2.3