aboutsummaryrefslogtreecommitdiff
path: root/src/pdfstorycode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdfstorycode.c')
-rw-r--r--src/pdfstorycode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pdfstorycode.c b/src/pdfstorycode.c
index 92e2809..566f924 100644
--- a/src/pdfstorycode.c
+++ b/src/pdfstorycode.c
@@ -61,12 +61,12 @@ static int render_slides_to_pdf(Presentation *p, ImageStore *is, const char *fil
cr = cairo_create(surf);
pc = pango_cairo_create_context(cr);
- for ( i=0; i<presentation_num_slides(p); i++ )
+ for ( i=0; i<presentation_get_num_slides(p); i++ )
{
Slide *s;
double log_w, log_h;
- s = presentation_slide(p, i);
+ s = presentation_get_slide_by_number(p, i);
slide_get_logical_size(s, presentation_get_stylesheet(p),
&log_w, &log_h);