aboutsummaryrefslogtreecommitdiff
path: root/src/presentation.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2017-11-26 20:02:53 +0100
committerThomas White <taw@bitwiz.org.uk>2017-11-26 20:02:53 +0100
commit2bf28d3b9de3ae3af076c569ffaccb66e13857f1 (patch)
treedd2ef413583e63ea589019fe687b0b599059bd34 /src/presentation.c
parent86e80d221809201f4cab608c5312bce8c76618a8 (diff)
Use config file for image store pathname
Diffstat (limited to 'src/presentation.c')
-rw-r--r--src/presentation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/presentation.c b/src/presentation.c
index efdf694..01cbe1a 100644
--- a/src/presentation.c
+++ b/src/presentation.c
@@ -98,7 +98,7 @@ char *get_titlebar_string(struct presentation *p)
}
-struct presentation *new_presentation()
+struct presentation *new_presentation(const char *imagestore)
{
struct presentation *new;
@@ -116,7 +116,7 @@ struct presentation *new_presentation()
new->completely_empty = 1;
new->saved = 1;
new->stylesheet = NULL;
- new->is = imagestore_new();
+ new->is = imagestore_new(imagestore);
/* FIXME: Hardcoded */
new->lang = pango_language_from_string("en_GB");