From 4c84613543bf24373bdb57049ae50f5d6bb28a62 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Mon, 18 Oct 2021 08:06:52 +0300 Subject: Cleanup --- src/app.c | 2 ++ src/app.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/app.c b/src/app.c index c7e803d4..5b12db14 100644 --- a/src/app.c +++ b/src/app.c @@ -1111,6 +1111,7 @@ void trimMemory_App(void) { iRelease(docs); } +#if 0 iBool findCachedContent_App(const iString *url, iString *mime_out, iBlock *data_out) { /* Cached content can be found in MediaRequests of DocumentWidgets (loaded on the currently open page) and the DocumentWidget itself. `Media` doesn't store source data, only @@ -1122,6 +1123,7 @@ iBool findCachedContent_App(const iString *url, iString *mime_out, iBlock *data_ } return iFalse; } +#endif iLocalDef iBool isWaitingAllowed_App_(iApp *d) { if (!isEmpty_Periodic(&d->periodic)) { diff --git a/src/app.h b/src/app.h index 8543f3b5..50d3ac6b 100644 --- a/src/app.h +++ b/src/app.h @@ -99,7 +99,7 @@ iStringSet * listOpenURLs_App (void); /* all tabs */ iDocumentWidget * newTab_App (const iDocumentWidget *duplicateOf, iBool switchToNew); void trimCache_App (void); void trimMemory_App (void); -iBool findCachedContent_App(const iString *url, iString *mime_out, iBlock *data_out); +//iBool findCachedContent_App(const iString *url, iString *mime_out, iBlock *data_out); iDocumentWidget * document_Root (iRoot *); -- cgit v1.2.3