aboutsummaryrefslogtreecommitdiff
path: root/src/presentation.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2015-11-15 16:17:17 +0100
committerThomas White <taw@bitwiz.org.uk>2015-11-15 16:17:17 +0100
commit81100c4e659c6b11f2e36f48a171325ddff76676 (patch)
tree67f55f357f72c35e288096d6202ec3c352d59b22 /src/presentation.c
parent9fa18b75c1354989dabf682788b9ea41fe28c707 (diff)
Move PangoLanguage higher up
Diffstat (limited to 'src/presentation.c')
-rw-r--r--src/presentation.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/presentation.c b/src/presentation.c
index e95bd92..a51762f 100644
--- a/src/presentation.c
+++ b/src/presentation.c
@@ -226,6 +226,9 @@ struct presentation *new_presentation()
new->stylesheet = NULL;
new->is = imagestore_new();
+ /* FIXME: Hardcoded */
+ new->lang = pango_language_from_string("en_GB");
+
return new;
}
@@ -344,6 +347,9 @@ int load_presentation(struct presentation *p, const char *filename)
p->scblocks = sc_parse(everything);
free(everything);
+ /* FIXME: Hardcoded */
+ p->lang = pango_language_from_string("en_GB");
+
if ( p->scblocks == NULL ) r = 1;
if ( r ) {