summaryrefslogtreecommitdiff
path: root/libview/ev-pixbuf-cache.h
diff options
context:
space:
mode:
authorJason Crain <[email protected]>2013-06-17 19:31:03 +0200
committerraveit65 <[email protected]>2017-09-06 18:25:34 +0200
commit7f405ab2ff461b8053100e1027497e27095881ee (patch)
tree8ba1117ceff0ba4fede614794fd3bd31b7510ca4 /libview/ev-pixbuf-cache.h
parentd758271a60f8d081d1a0701b48d68981dcad9804 (diff)
downloadatril-7f405ab2ff461b8053100e1027497e27095881ee.tar.bz2
atril-7f405ab2ff461b8053100e1027497e27095881ee.tar.xz
libview: Split ev_pixbuf_cache_get_selection_surface into two functions
ev_pixbuf_cache_get_selection_surface returns the selection surface, and new function ev_pixbuf_cache_get_selection_region returns the selection region. https://bugzilla.gnome.org/show_bug.cgi?id=669022 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=90d6580
Diffstat (limited to 'libview/ev-pixbuf-cache.h')
-rw-r--r--libview/ev-pixbuf-cache.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libview/ev-pixbuf-cache.h b/libview/ev-pixbuf-cache.h
index a20b7518..5617ca9b 100644
--- a/libview/ev-pixbuf-cache.h
+++ b/libview/ev-pixbuf-cache.h
@@ -78,8 +78,10 @@ void ev_pixbuf_cache_set_inverted_colors (EvPixbufCache *pixbuf_cache
/* Selection */
cairo_surface_t *ev_pixbuf_cache_get_selection_surface (EvPixbufCache *pixbuf_cache,
gint page,
- gfloat scale,
- cairo_region_t **region);
+ gfloat scale);
+cairo_region_t *ev_pixbuf_cache_get_selection_region (EvPixbufCache *pixbuf_cache,
+ gint page,
+ gfloat scale);
void ev_pixbuf_cache_set_selection_list (EvPixbufCache *pixbuf_cache,
GList *selection_list);
GList *ev_pixbuf_cache_get_selection_list (EvPixbufCache *pixbuf_cache);