summaryrefslogtreecommitdiffstats
path: root/core/picture.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-04-19 16:48:53 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-05-06 13:58:09 -0700
commit74f03e3537ee530000d4b11013bb12de91cb21dd (patch)
treed534e7ee2718318b9ae0bba9578ec84001a5dff9 /core/picture.c
parent093551363602e723864467af0812f13f4525855f (diff)
downloadsubsurface-74f03e3537ee530000d4b11013bb12de91cb21dd.tar.gz
media: move addition of pictures out of create_picture()
If we want to make addition of pictures undoable, then create_picture() must not add directly to the dive. Instead, return the dive to which the picture should be added and let the caller perform the addition. This means that the picture-test has to be adapted. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/picture.c')
0 files changed, 0 insertions, 0 deletions