summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-07-29 23:03:32 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-30 12:52:31 -0700
commit3b9bceacb6efcd3e97c95077a2295c931c834514 (patch)
treec40ae2d7529f5fd6aab9d9041c785202fe0c61a0 /dive.h
parent1e6986d87010a636d151f77b3da2a40d52a95178 (diff)
downloadsubsurface-3b9bceacb6efcd3e97c95077a2295c931c834514.tar.gz
Implement the functionality of remove_picture.
Added the remove_picture functionality, with code shamelessy stolen from remove_event, and hoock it up with the interface. Fixes #650 Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index 204cb2fee..0bffeb69e 100644
--- a/dive.h
+++ b/dive.h
@@ -311,7 +311,7 @@ struct picture {
extern struct picture *alloc_picture();
extern void dive_create_picture(struct dive *d, char *filename, int shift_time);
extern void dive_add_picture(struct dive *d, struct picture *newpic);
-extern void dive_remove_picture(struct dive *d, struct picture *pic);
+extern void dive_remove_picture(struct picture *pic);
extern unsigned int dive_get_picture_count(struct dive *d);
extern void picture_load_exif_data(struct picture *p, timestamp_t *timestamp);
extern void dive_set_geodata_from_picture(struct dive *d, struct picture *pic);