From 6f1f443152f91a885cd3479b3f833d6026791380 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sat, 9 Nov 2019 17:06:42 +0100 Subject: show SyncTeX version in about dialog --- libdocument/ev-document.c | 1 + libdocument/ev-document.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'libdocument') 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 -- cgit v1.2.1