]> www.fi.muni.cz Git - evince.git/blobdiff - libdocument/ev-selection.h
Use EvPage instead of a render context to get the selection map
[evince.git] / libdocument / ev-selection.h
index 7a1252a10c7ff4df8b1eb1549c17d594ca4120f8..4e896065dc530f4ec879cf8a637191c36965c343 100644 (file)
@@ -65,7 +65,7 @@ struct _EvSelectionIface
                                              EvSelectionStyle  style,
                                              EvRectangle      *points);
        GdkRegion * (* get_selection_map)    (EvSelection      *selection,
-                                             EvRenderContext  *rc);
+                                             EvPage           *page);
        GdkRegion * (* get_selection_region) (EvSelection      *selection,
                                              EvRenderContext  *rc,
                                              EvSelectionStyle  style,
@@ -86,7 +86,7 @@ gchar     *ev_selection_get_selected_text    (EvSelection      *selection,
                                              EvSelectionStyle  style,
                                              EvRectangle      *points);
 GdkRegion *ev_selection_get_selection_map    (EvSelection      *selection,
-                                             EvRenderContext  *rc);
+                                             EvPage           *page);
 GdkRegion *ev_selection_get_selection_region (EvSelection      *selection,
                                              EvRenderContext  *rc,
                                              EvSelectionStyle  style,