summaryrefslogtreecommitdiff
path: root/libview/ev-page-cache.h
diff options
context:
space:
mode:
authorCarlos Garcia Campos <[email protected]>2014-08-15 13:04:53 +0200
committerraveit65 <[email protected]>2017-08-28 16:04:01 +0200
commitc284fdd869066085c756f617ac6787abe06769c6 (patch)
tree468921bf6298c0810cd3b8a4d4bc4d3b55d87d3d /libview/ev-page-cache.h
parent3ada385fead55fa8f94afa128558348d8530dee6 (diff)
downloadatril-c284fdd869066085c756f617ac6787abe06769c6.tar.bz2
atril-c284fdd869066085c756f617ac6787abe06769c6.tar.xz
page-cache: Add flags parameter to ev_page_cache_mark_dirty()
This allows to specify what is dirty so that it's freed before being cached again. origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-14&id=20c6b3b
Diffstat (limited to 'libview/ev-page-cache.h')
-rw-r--r--libview/ev-page-cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libview/ev-page-cache.h b/libview/ev-page-cache.h
index 8306b56e..1e6bf3f6 100644
--- a/libview/ev-page-cache.h
+++ b/libview/ev-page-cache.h
@@ -48,7 +48,8 @@ EvJobPageDataFlags ev_page_cache_get_flags (EvPageCache *cach
void ev_page_cache_set_flags (EvPageCache *cache,
EvJobPageDataFlags flags);
void ev_page_cache_mark_dirty (EvPageCache *cache,
- gint page);
+ gint page,
+ EvJobPageDataFlags flags);
EvMappingList *ev_page_cache_get_link_mapping (EvPageCache *cache,
gint page);
EvMappingList *ev_page_cache_get_image_mapping (EvPageCache *cache,