diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2010-05-08 10:24:36 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2010-05-08 10:24:36 (GMT) |
commit | eb80ecd1f7aa6ff57d2a3324c691274745ca4ed0 (patch) | |
tree | 55159ec20fa770c90a110aaa390f905d09b8a2fa /libdocument/ev-selection.h | |
parent | d92e01606a301b6f677d85c3b24348f3b51ed2f4 (diff) |
[libdocument] Use EvPage instead of EvRenderContext in get_selected_text()
It doesn't depend on scale and rotation so we only need the page.
Diffstat (limited to 'libdocument/ev-selection.h')
-rw-r--r-- | libdocument/ev-selection.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdocument/ev-selection.h b/libdocument/ev-selection.h index 65e0c15..19b61bb 100644 --- a/libdocument/ev-selection.h +++ b/libdocument/ev-selection.h @@ -61,7 +61,7 @@ struct _EvSelectionInterface GdkColor *text, GdkColor *base); gchar * (* get_selected_text) (EvSelection *selection, - EvRenderContext *rc, + EvPage *page, EvSelectionStyle style, EvRectangle *points); GdkRegion * (* get_selection_map) (EvSelection *selection, @@ -82,7 +82,7 @@ void ev_selection_render_selection (EvSelection *selection, GdkColor *text, GdkColor *base); gchar *ev_selection_get_selected_text (EvSelection *selection, - EvRenderContext *rc, + EvPage *page, EvSelectionStyle style, EvRectangle *points); GdkRegion *ev_selection_get_selection_map (EvSelection *selection, |