Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libdocument/ev-selection.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2009-12-08 12:26:44 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2009-12-08 12:41:02 (GMT)
commited252626b3d584bc3d98649ce2a217c0b82ec50b (patch)
treea931d8c9d62cfb7cf08f15f12e8642a804a8d577 /libdocument/ev-selection.c
parentea6eb7ebc9898463a4e165d76aea75634a8b519b (diff)
Use EvPage instead of a render context to get the selection map
Selection map doesn't depend on scale/rotation so only the page is needed.
Diffstat (limited to 'libdocument/ev-selection.c')
-rw-r--r--libdocument/ev-selection.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libdocument/ev-selection.c b/libdocument/ev-selection.c
index c19ac2a..017036f 100644
--- a/libdocument/ev-selection.c
+++ b/libdocument/ev-selection.c
@@ -77,13 +77,13 @@ ev_selection_get_selection_region (EvSelection *selection,
}
GdkRegion *
-ev_selection_get_selection_map (EvSelection *selection,
- EvRenderContext *rc)
+ev_selection_get_selection_map (EvSelection *selection,
+ EvPage *page)
{
EvSelectionIface *iface = EV_SELECTION_GET_IFACE (selection);
if (!iface->get_selection_map)
return NULL;
-
- return iface->get_selection_map (selection, rc);
+
+ return iface->get_selection_map (selection, page);
}