aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/slide.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-01-25 15:30:59 +0100
committerThomas White <taw@physics.org>2020-01-25 15:30:59 +0100
commit7f6f418e5d5d31e2617b613c3cfe3a2da004b56c (patch)
treefb17a543532c90eeeb09f9640d993b333330e82e /libstorycode/slide.h
parente6d94b1b6c9a8b74d7faa7e80d7a44f604c4e814 (diff)
Fix semantics of slide_add_item
Diffstat (limited to 'libstorycode/slide.h')
-rw-r--r--libstorycode/slide.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstorycode/slide.h b/libstorycode/slide.h
index f880c2e..2223a9f 100644
--- a/libstorycode/slide.h
+++ b/libstorycode/slide.h
@@ -38,7 +38,7 @@ typedef struct _slideitem SlideItem;
extern Slide *slide_new(void);
extern void slide_free(Slide *s);
-extern void slide_add_item(Slide *s, SlideItem *item);
+extern SlideItem *slide_add_item(Slide *s, SlideItem *item);
extern void slide_delete_item(Slide *s, SlideItem *item);
extern int slide_set_logical_size(Slide *s, double w, double h);