diff options
author | Thomas White <taw@physics.org> | 2019-03-31 13:53:42 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-03-31 13:53:42 +0200 |
commit | d92d4d2767585e1956f2ce616ed795f2b1af3cc3 (patch) | |
tree | 7dc1a814469a302a78159e9924c8ed637a09c6d4 /src/colloquium.c | |
parent | 5a1e588c3fbdce549e0b3c487e2671c679890675 (diff) |
Saving hooks
Diffstat (limited to 'src/colloquium.c')
-rw-r--r-- | src/colloquium.c | 4 |
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"), |