From 7f405ab2ff461b8053100e1027497e27095881ee Mon Sep 17 00:00:00 2001 From: Jason Crain Date: Mon, 17 Jun 2013 19:31:03 +0200 Subject: 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 --- libview/ev-pixbuf-cache.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libview/ev-pixbuf-cache.h') 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); -- cgit v1.2.1