From d15264ea3213a56113952d16b042fd4fb249da6d Mon Sep 17 00:00:00 2001 From: Bert Date: Mon, 11 Apr 2011 16:58:38 +0200 Subject: Remove invalid images when loading them; refactorings --- thumbs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'thumbs.h') diff --git a/thumbs.h b/thumbs.h index 4a8af09..a81287b 100644 --- a/thumbs.h +++ b/thumbs.h @@ -52,12 +52,12 @@ typedef struct { unsigned char dirty; } tns_t; -void tns_clear_cache(tns_t*); +void tns_clean_cache(tns_t*); void tns_init(tns_t*, int); -void tns_free(tns_t*, win_t*); +void tns_free(tns_t*); -void tns_load(tns_t*, win_t*, int, const char*); +int tns_load(tns_t*, int, const char*, unsigned char); void tns_render(tns_t*, win_t*); void tns_highlight(tns_t*, win_t*, int, Bool); -- cgit v1.2.3