gchar *
ev_selection_get_selected_text (EvSelection *selection,
- EvRenderContext *rc,
+ EvPage *page,
EvSelectionStyle style,
EvRectangle *points)
{
EvSelectionInterface *iface = EV_SELECTION_GET_IFACE (selection);
- return iface->get_selected_text (selection, rc, style, points);
+ return iface->get_selected_text (selection, page, style, points);
}
-GdkRegion *
+cairo_region_t *
ev_selection_get_selection_region (EvSelection *selection,
EvRenderContext *rc,
EvSelectionStyle style,
return iface->get_selection_region (selection, rc, style, points);
}
-
-GdkRegion *
-ev_selection_get_selection_map (EvSelection *selection,
- EvPage *page)
-{
- EvSelectionInterface *iface = EV_SELECTION_GET_IFACE (selection);
-
- if (!iface->get_selection_map)
- return NULL;
-
- return iface->get_selection_map (selection, page);
-}