]> www.fi.muni.cz Git - evince.git/blobdiff - libdocument/ev-selection.c
Use EvPage instead of a render context to get the selection map
[evince.git] / libdocument / ev-selection.c
index c19ac2a36a15938d041fc45b99ca38f7edf704fb..017036f45b091bc3b38a6992e58b9dfa96c9ff87 100644 (file)
@@ -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);
 }