X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=libdocument%2Fev-selection.c;h=49e56eb434ae3967e54d5b439571ec557a828a1d;hb=1d6c41200f621a43e92deda5b5d682413572d2a2;hp=260a9ca46906c2b03370a0c6e27468a281d72698;hpb=837897ffba5a5e4e5685c1ffdeb1d4d87083a052;p=evince.git diff --git a/libdocument/ev-selection.c b/libdocument/ev-selection.c index 260a9ca4..49e56eb4 100644 --- a/libdocument/ev-selection.c +++ b/libdocument/ev-selection.c @@ -53,16 +53,16 @@ ev_selection_render_selection (EvSelection *selection, 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, @@ -75,15 +75,3 @@ ev_selection_get_selection_region (EvSelection *selection, 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); -}