diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-10-18 08:06:52 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-10-18 08:06:52 +0300 |
commit | 4c84613543bf24373bdb57049ae50f5d6bb28a62 (patch) | |
tree | 05a0dd3ad8ad3674f9f92ba963ea2ecea25965bf | |
parent | 2b53c2dd6cb4524a9b240120abfd309b86c24899 (diff) |
Cleanup
-rw-r--r-- | src/app.c | 2 | ||||
-rw-r--r-- | src/app.h | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1111,6 +1111,7 @@ void trimMemory_App(void) { | |||
1111 | iRelease(docs); | 1111 | iRelease(docs); |
1112 | } | 1112 | } |
1113 | 1113 | ||
1114 | #if 0 | ||
1114 | iBool findCachedContent_App(const iString *url, iString *mime_out, iBlock *data_out) { | 1115 | iBool 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 | ||
1126 | iLocalDef iBool isWaitingAllowed_App_(iApp *d) { | 1128 | iLocalDef iBool isWaitingAllowed_App_(iApp *d) { |
1127 | if (!isEmpty_Periodic(&d->periodic)) { | 1129 | if (!isEmpty_Periodic(&d->periodic)) { |
@@ -99,7 +99,7 @@ iStringSet * listOpenURLs_App (void); /* all tabs */ | |||
99 | iDocumentWidget * newTab_App (const iDocumentWidget *duplicateOf, iBool switchToNew); | 99 | iDocumentWidget * newTab_App (const iDocumentWidget *duplicateOf, iBool switchToNew); |
100 | void trimCache_App (void); | 100 | void trimCache_App (void); |
101 | void trimMemory_App (void); | 101 | void trimMemory_App (void); |
102 | iBool 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 | ||
104 | iDocumentWidget * document_Root (iRoot *); | 104 | iDocumentWidget * document_Root (iRoot *); |
105 | 105 | ||