summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/app.c2
-rw-r--r--src/app.h2
2 files changed, 3 insertions, 1 deletions
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) {
1111 iRelease(docs); 1111 iRelease(docs);
1112} 1112}
1113 1113
1114#if 0
1114iBool findCachedContent_App(const iString *url, iString *mime_out, iBlock *data_out) { 1115iBool findCachedContent_App(const iString *url, iString *mime_out, iBlock *data_out) {
1115 /* Cached content can be found in MediaRequests of DocumentWidgets (loaded on the currently 1116 /* Cached content can be found in MediaRequests of DocumentWidgets (loaded on the currently
1116 open page) and the DocumentWidget itself. `Media` doesn't store source data, only 1117 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_
1122 } 1123 }
1123 return iFalse; 1124 return iFalse;
1124} 1125}
1126#endif
1125 1127
1126iLocalDef iBool isWaitingAllowed_App_(iApp *d) { 1128iLocalDef iBool isWaitingAllowed_App_(iApp *d) {
1127 if (!isEmpty_Periodic(&d->periodic)) { 1129 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 */
99iDocumentWidget * newTab_App (const iDocumentWidget *duplicateOf, iBool switchToNew); 99iDocumentWidget * newTab_App (const iDocumentWidget *duplicateOf, iBool switchToNew);
100void trimCache_App (void); 100void trimCache_App (void);
101void trimMemory_App (void); 101void trimMemory_App (void);
102iBool findCachedContent_App(const iString *url, iString *mime_out, iBlock *data_out); 102//iBool findCachedContent_App(const iString *url, iString *mime_out, iBlock *data_out);
103 103
104iDocumentWidget * document_Root (iRoot *); 104iDocumentWidget * document_Root (iRoot *);
105 105