diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-06-15 10:31:20 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-06-15 10:31:20 +0300 |
commit | d5a87c08b3ed5521a21a72c048e5cf4db68314fa (patch) | |
tree | ce3bce2b1d0a3349f3faec4e3dab8ca65cdb38f6 /src/gmdocument.c | |
parent | e5e3b291ac0adc2eab0ec5840b7bad99517b4d59 (diff) |
DocumentWidget: Caching error page documents
Diffstat (limited to 'src/gmdocument.c')
-rw-r--r-- | src/gmdocument.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c index 0ab09604..aa2baa4a 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c | |||
@@ -919,6 +919,10 @@ const iMedia *constMedia_GmDocument(const iGmDocument *d) { | |||
919 | return d->media; | 919 | return d->media; |
920 | } | 920 | } |
921 | 921 | ||
922 | const iString *url_GmDocument(const iGmDocument *d) { | ||
923 | return &d->url; | ||
924 | } | ||
925 | |||
922 | #if 0 | 926 | #if 0 |
923 | void reset_GmDocument(iGmDocument *d) { | 927 | void reset_GmDocument(iGmDocument *d) { |
924 | clear_Media(d->media); | 928 | clear_Media(d->media); |