From d92d4d2767585e1956f2ce616ed795f2b1af3cc3 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 31 Mar 2019 13:53:42 +0200 Subject: Saving hooks --- src/colloquium.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/colloquium.c') 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"), -- cgit v1.2.3