aboutsummaryrefslogtreecommitdiff
path: root/src/colloquium.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/colloquium.c')
-rw-r--r--src/colloquium.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/colloquium.c b/src/colloquium.c
index 65647ad..d3ada61 100644
--- a/src/colloquium.c
+++ b/src/colloquium.c
@@ -67,7 +67,7 @@ static void colloquium_activate(GApplication *papp)
ss = stylesheet_new();
narrative_add_text(n, strdup(""));
narrative_add_stylesheet(n, ss);
- narrative_window_new(n, papp);
+ narrative_window_new(n, NULL, papp);
}
}
@@ -231,7 +231,7 @@ static void colloquium_open(GApplication *papp, GFile **files, gint n_files,
Narrative *n;
n = narrative_load(files[i]);
if ( n != NULL ) {
- narrative_window_new(n, papp);
+ narrative_window_new(n, files[i], papp);
} else {
char *uri = g_file_get_uri(files[i]);
fprintf(stderr, _("Failed to load presentation '%s'\n"),