summaryrefslogtreecommitdiff
path: root/libdocument/ev-backends-manager.c
diff options
context:
space:
mode:
authorrootavish <[email protected]>2014-08-19 00:16:41 +0530
committerrootavish <[email protected]>2014-08-19 00:16:41 +0530
commit17377df48abdf10b6a064d6afdc1a4c95441ae20 (patch)
tree73d4ddb85c3e4fb4ed6b8787545a2216864c0402 /libdocument/ev-backends-manager.c
parent3c122f6d867acecca4e7143d1d0707d7f188a64a (diff)
downloadatril-17377df48abdf10b6a064d6afdc1a4c95441ae20.tar.bz2
atril-17377df48abdf10b6a064d6afdc1a4c95441ae20.tar.xz
Mathjax Support
The Mathjax files will be installed to $(backenddir)/epub/MathJax This was as small as the install got.
Diffstat (limited to 'libdocument/ev-backends-manager.c')
-rw-r--r--libdocument/ev-backends-manager.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/libdocument/ev-backends-manager.c b/libdocument/ev-backends-manager.c
index dd62642d..74fc09a0 100644
--- a/libdocument/ev-backends-manager.c
+++ b/libdocument/ev-backends-manager.c
@@ -63,6 +63,19 @@ backends_dir (void)
return backendsdir;
}
+gchar*
+ev_backends_manager_get_backends_dir(void)
+{
+ gchar *retval;
+ if (!backendsdir) {
+ retval = backends_dir();
+ }
+ else {
+ retval = backendsdir;
+ }
+ return retval;
+}
+
static void
ev_backend_info_free (EvBackendInfo *info)
{