]> www.fi.muni.cz Git - evince.git/commitdiff
[dvi] Implement ev_document_support_syntex
authorJose Aliste <jose.aliste@gmail.com>
Sun, 27 Jun 2010 10:27:41 +0000 (12:27 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 27 Jun 2010 10:27:41 +0000 (12:27 +0200)
backend/dvi/dvi-document.c

index 2365c1ecf406f159e8cb05bc33fbe37be60634e9..a4a3dc6d92b7a9fd4a437d4c4e908ad5d7fbec86 100644 (file)
@@ -235,6 +235,12 @@ dvi_document_finalize (GObject *object)
        G_OBJECT_CLASS (dvi_document_parent_class)->finalize (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)
 {
 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->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
 }
 
 static void