[evince] [dvi] Implement ev_document_support_syntex
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] [dvi] Implement ev_document_support_syntex
- Date: Sun, 27 Jun 2010 14:49:51 +0000 (UTC)
commit cc4da1e236db7a64282baf5213c41f5e21abca35
Author: Jose Aliste <jose aliste gmail com>
Date: Sun Jun 27 12:27:41 2010 +0200
[dvi] Implement ev_document_support_syntex
backend/dvi/dvi-document.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/backend/dvi/dvi-document.c b/backend/dvi/dvi-document.c
index 2365c1e..a4a3dc6 100644
--- a/backend/dvi/dvi-document.c
+++ b/backend/dvi/dvi-document.c
@@ -235,6 +235,12 @@ dvi_document_finalize (GObject *object)
G_OBJECT_CLASS (dvi_document_parent_class)->finalize (object);
}
+static gboolean
+dvi_document_support_synctex (EvDocument *document)
+{
+ return TRUE;
+}
+
static void
dvi_document_class_init (DviDocumentClass *klass)
{
@@ -258,6 +264,7 @@ dvi_document_class_init (DviDocumentClass *klass)
ev_document_class->get_n_pages = dvi_document_get_n_pages;
ev_document_class->get_page_size = dvi_document_get_page_size;
ev_document_class->render = dvi_document_render;
+ ev_document_class->support_synctex = dvi_document_support_synctex;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]