From 34465a06ab052fe92a755b802b30848857d2e4c2 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 16 Apr 2010 20:44:44 +0000 Subject: Remove fresh field from struct content svn path=/trunk/netsurf/; revision=10413 --- content/content.c | 2 -- content/content_protected.h | 4 ---- 2 files changed, 6 deletions(-) diff --git a/content/content.c b/content/content.c index 428bffb70..9ecc42810 100644 --- a/content/content.c +++ b/content/content.c @@ -466,7 +466,6 @@ struct content * content_create(llcache_handle *llcache, c->quirks = quirks; c->refresh = 0; c->bitmap = NULL; - c->fresh = false; c->time = wallclock(); c->size = 0; c->title = NULL; @@ -1428,7 +1427,6 @@ struct content *content_clone(struct content *c) } } - nc->fresh = c->fresh; nc->time = c->time; nc->reformat_time = c->reformat_time; nc->size = c->size; diff --git a/content/content_protected.h b/content/content_protected.h index 6337e3eb2..c46fa6c6c 100644 --- a/content/content_protected.h +++ b/content/content_protected.h @@ -155,10 +155,6 @@ struct content { /** Bitmap, for various image contents. */ struct bitmap *bitmap; - /** This content may be given to new users. Indicates that the content - * was fetched using a simple GET, has not expired, and may be - * shared between users. */ - bool fresh; unsigned int time; /**< Creation time, if TYPE_UNKNOWN, LOADING or READY, otherwise total time. */ -- cgit v1.2.3