diff options
author | Thomas White <taw@bitwiz.me.uk> | 2018-10-17 11:14:22 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2018-10-17 11:14:22 +0200 |
commit | 8ff33c21355382dd1e0697b8e3e9455d63c831f9 (patch) | |
tree | af04c83bc22d072cdad2a7fe9e23ad25e152c316 /src/presentation.c | |
parent | 28bc23c38f2d8f88667671b5b78a79f22e56e6b0 (diff) |
Strip out macro system
Diffstat (limited to 'src/presentation.c')
-rw-r--r-- | src/presentation.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/presentation.c b/src/presentation.c index b8b4589..b3676b5 100644 --- a/src/presentation.c +++ b/src/presentation.c @@ -281,21 +281,7 @@ static void install_stylesheet(struct presentation *p) static void set_slide_size_from_stylesheet(struct presentation *p) { - SCInterpreter *scin; - double w, h; - int r; - - if ( p->stylesheet == NULL ) return; - - scin = sc_interp_new(NULL, NULL, NULL, NULL); - sc_interp_run_stylesheet(scin, p->stylesheet); /* ss == NULL is OK */ - r = sc_interp_get_slide_size(scin, &w, &h); - sc_interp_destroy(scin); - - if ( r == 0 ) { - p->slide_width = w; - p->slide_height = h; - } + /* FIXME: From JSON */ } |