summaryrefslogtreecommitdiff
path: root/libdocument/ev-backends-manager.c
diff options
context:
space:
mode:
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)
{