diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-02-01 00:07:04 +1100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-01 00:07:04 +1100 |
commit | 0f2fac265fb876de971a2849bec69c51161d7a74 (patch) | |
tree | 396cc32dad86fea20a0d709bb4b63bc2c27bb7ae /dive.h | |
parent | 6f66781b1fe99d0157abc0a7f2220e4adaf2e431 (diff) | |
download | subsurface-0f2fac265fb876de971a2849bec69c51161d7a74.tar.gz |
Clear the list of events when closing data file
When the data file is closed we should reset the events that we offer for
filtering.
Reported-by: Sergey Starosek <sergey.starosek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -552,6 +552,7 @@ extern void add_location(const char *string); extern void add_suit(const char *string); extern void remember_event(const char *eventname); extern void evn_foreach(void (*callback)(const char *, int *, void *), void *data); +extern void clear_events(void); extern int add_new_dive(struct dive *dive); extern gboolean edit_trip(dive_trip_t *trip); |