[evince] [pdf] Implement ev_document_support_syntex
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] [pdf] Implement ev_document_support_syntex
- Date: Sun, 27 Jun 2010 14:49:46 +0000 (UTC)
commit e0ebe919407ab417153acb7f6b78b00fd753e9a7
Author: Jose Aliste <jose aliste gmail com>
Date: Sun Jun 27 12:25:01 2010 +0200
[pdf] Implement ev_document_support_syntex
backend/pdf/ev-poppler.cc | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/backend/pdf/ev-poppler.cc b/backend/pdf/ev-poppler.cc
index 4b26290..91f5c2e 100644
--- a/backend/pdf/ev-poppler.cc
+++ b/backend/pdf/ev-poppler.cc
@@ -798,6 +798,12 @@ pdf_document_get_backend_info (EvDocument *document, EvDocumentBackendInfo *info
return TRUE;
}
+static gboolean
+pdf_document_support_synctex (EvDocument *document)
+{
+ return TRUE;
+}
+
static void
pdf_document_class_init (PdfDocumentClass *klass)
{
@@ -815,6 +821,7 @@ pdf_document_class_init (PdfDocumentClass *klass)
ev_document_class->render = pdf_document_render;
ev_document_class->get_info = pdf_document_get_info;
ev_document_class->get_backend_info = pdf_document_get_backend_info;
+ ev_document_class->support_synctex = pdf_document_support_synctex;
}
/* EvDocumentSecurity */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]