summaryrefslogtreecommitdiff
path: root/libdocument
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-11-09 17:06:42 +0100
committerraveit65 <[email protected]>2019-11-11 10:53:05 +0100
commit6f1f443152f91a885cd3479b3f833d6026791380 (patch)
treef1bd32c193a1617198310db109a7d7d64736fc77 /libdocument
parent97d639522285ef40a2c2f6f7372a4b4b535d8135 (diff)
downloadatril-6f1f443152f91a885cd3479b3f833d6026791380.tar.bz2
atril-6f1f443152f91a885cd3479b3f833d6026791380.tar.xz
show SyncTeX version in about dialog
Diffstat (limited to 'libdocument')
-rw-r--r--libdocument/ev-document.c1
-rw-r--r--libdocument/ev-document.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/libdocument/ev-document.c b/libdocument/ev-document.c
index fcebc6e7..b713a671 100644
--- a/libdocument/ev-document.c
+++ b/libdocument/ev-document.c
@@ -137,6 +137,7 @@ static void
ev_document_init (EvDocument *document)
{
document->priv = ev_document_get_instance_private (document);
+ document->synctex_version = SYNCTEX_VERSION_STRING;
/* Assume all pages are the same size until proven otherwise */
document->priv->uniform = TRUE;
diff --git a/libdocument/ev-document.h b/libdocument/ev-document.h
index 43af4b58..7fb1bf2f 100644
--- a/libdocument/ev-document.h
+++ b/libdocument/ev-document.h
@@ -84,7 +84,8 @@ struct _EvDocument
* Since we can only access the members of this structure from the window frontend,
* we need a flag to detemine whether to replace the atril-view with a web-view.
*/
- gboolean iswebdocument;
+ gboolean iswebdocument;
+ const gchar *synctex_version;
};
struct _EvDocumentClass