aboutsummaryrefslogtreecommitdiff
path: root/src/render.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2018-10-17 14:50:28 +0200
committerThomas White <taw@bitwiz.me.uk>2018-10-17 14:50:28 +0200
commit2b2a139a94c932d50a5ad5a5ab91f997493e5b5a (patch)
treea80c35594d21c4259284a0db5818e077fc1ec70a /src/render.c
parent8f7480255e76fc27bcab5ab10ef6c15368c5c495 (diff)
Switch to new Stylesheet type
Diffstat (limited to 'src/render.c')
-rw-r--r--src/render.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render.c b/src/render.c
index 0228a7b..041f812 100644
--- a/src/render.c
+++ b/src/render.c
@@ -176,7 +176,7 @@ int recursive_wrap(struct frame *fr, PangoContext *pc)
}
-struct frame *interp_and_shape(SCBlock *scblocks, SCBlock *stylesheet,
+struct frame *interp_and_shape(SCBlock *scblocks, Stylesheet *stylesheet,
SCCallbackList *cbl, ImageStore *is,
int slide_number,
PangoContext *pc, double w, double h,
@@ -227,7 +227,7 @@ struct frame *interp_and_shape(SCBlock *scblocks, SCBlock *stylesheet,
static struct frame *render_sc_with_context(SCBlock *scblocks,
cairo_t *cr, double log_w, double log_h,
- SCBlock *stylesheet, SCCallbackList *cbl,
+ Stylesheet *stylesheet, SCCallbackList *cbl,
ImageStore *is,
int slide_number, PangoLanguage *lang,
PangoContext *pc)
@@ -251,7 +251,7 @@ static struct frame *render_sc_with_context(SCBlock *scblocks,
cairo_surface_t *render_sc(SCBlock *scblocks, int w, int h,
double log_w, double log_h,
- SCBlock *stylesheet, SCCallbackList *cbl,
+ Stylesheet *stylesheet, SCCallbackList *cbl,
ImageStore *is,
int slide_number, struct frame **ptop,
PangoLanguage *lang)