From eb80ecd1f7aa6ff57d2a3324c691274745ca4ed0 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sat, 08 May 2010 10:24:36 +0000 Subject: [libdocument] Use EvPage instead of EvRenderContext in get_selected_text() It doesn't depend on scale and rotation so we only need the page. --- (limited to 'libdocument/ev-selection.c') 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 * -- cgit v0.9.1