aboutsummaryrefslogtreecommitdiff
path: root/src/narrative_window.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2018-10-17 11:14:22 +0200
committerThomas White <taw@bitwiz.me.uk>2018-10-17 11:14:22 +0200
commit8ff33c21355382dd1e0697b8e3e9455d63c831f9 (patch)
treeaf04c83bc22d072cdad2a7fe9e23ad25e152c316 /src/narrative_window.c
parent28bc23c38f2d8f88667671b5b78a79f22e56e6b0 (diff)
Strip out macro system
Diffstat (limited to 'src/narrative_window.c')
-rw-r--r--src/narrative_window.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/narrative_window.c b/src/narrative_window.c
index e549fc1..1631f2f 100644
--- a/src/narrative_window.c
+++ b/src/narrative_window.c
@@ -187,14 +187,9 @@ static void delete_slide_sig(GSimpleAction *action, GVariant *parameter,
static struct template_id *get_templates(SCBlock *ss, int *n)
{
- struct template_id *list;
- SCInterpreter *scin;
-
- scin = sc_interp_new(NULL, NULL, NULL, NULL);
- sc_interp_run_stylesheet(scin, ss); /* ss == NULL is OK */
- list = sc_interp_get_templates(scin, n);
- sc_interp_destroy(scin);
- return list;
+ /* FIXME: From JSON stylesheet */
+ *n = 0;
+ return NULL;
}