]> www.fi.muni.cz Git - evince.git/blobdiff - libdocument/ev-selection.c
cleanup
[evince.git] / libdocument / ev-selection.c
index 25879a9202ffc63e14054d04a807c9b8d7c46cc6..49e56eb434ae3967e54d5b439571ec557a828a1d 100644 (file)
@@ -62,7 +62,7 @@ ev_selection_get_selected_text (EvSelection      *selection,
        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);
-}