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 | |
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')
-rw-r--r-- | libdocument/ev-selection.c | 4 | ||||
-rw-r--r-- | libdocument/ev-selection.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libdocument/ev-selection.c b/libdocument/ev-selection.c index 260a9ca..25879a9 100644 --- a/libdocument/ev-selection.c +++ b/libdocument/ev-selection.c @@ -53,13 +53,13 @@ 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 * 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, |