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.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/libdocument/ev-backends-manager.c b/libdocument/ev-backends-manager.c
index 74fc09a0..6313b5ee 100644
--- a/libdocument/ev-backends-manager.c
+++ b/libdocument/ev-backends-manager.c
@@ -63,17 +63,10 @@ backends_dir (void)
return backendsdir;
}
-gchar*
+const gchar *
ev_backends_manager_get_backends_dir(void)
{
- gchar *retval;
- if (!backendsdir) {
- retval = backends_dir();
- }
- else {
- retval = backendsdir;
- }
- return retval;
+ return backends_dir();
}
static void