]> www.fi.muni.cz Git - evince.git/blobdiff - backend/djvu/djvu-text-page.c
[libdocument] Use EvPage instead of EvRenderContext in get_selected_text()
[evince.git] / backend / djvu / djvu-text-page.c
index e2607dfe25ca2826ed44b3b3d9e9536800fed8d5..10fe1a48987f3994d0170e4fa97a48739ad802ef 100644 (file)
@@ -14,7 +14,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
 #include <config.h>
@@ -123,8 +123,6 @@ djvu_text_page_limits (DjvuTextPage *page,
                          miniexp_t     p, 
                          EvRectangle  *rect)
 {
-       char *token_text;
-       
        g_return_if_fail (miniexp_consp (p) && 
                          miniexp_symbolp (miniexp_car (p)));
 
@@ -373,7 +371,7 @@ djvu_text_page_append_text (DjvuTextPage *page,
  */
 void 
 djvu_text_page_search (DjvuTextPage *page, 
-                      char         *text)
+                      const char   *text)
 {
        char *haystack = page->text;
        int search_len;