diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-19 16:41:56 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-19 16:41:56 -0700 |
commit | 87e8ff9c3e16e2786a9ba9d551e52cd8b9dd9728 (patch) | |
tree | d1f03a840246adae27d1e48e42e008d3dc2dbd8f /divelist.h | |
parent | dfacb5e124125e0e864509459d9ffef73495a3cd (diff) | |
download | subsurface-87e8ff9c3e16e2786a9ba9d551e52cd8b9dd9728.tar.gz |
Update the divelist when dive info changes
This flushes the dive changes to the dive list, the way the old dive
info frame would update as you update dive fields.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'divelist.h')
-rw-r--r-- | divelist.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/divelist.h b/divelist.h index e0ab1137c..46598b14f 100644 --- a/divelist.h +++ b/divelist.h @@ -11,9 +11,12 @@ struct DiveList { GtkTreeViewColumn *temperature, *nitrox, *sac; }; +struct dive; + extern struct DiveList dive_list; extern struct DiveList dive_list_create(void); extern void dive_list_update_dives(struct DiveList); extern void update_dive_list_units(struct DiveList *); +extern void flush_divelist(struct DiveList *, struct dive *); #endif |