mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
dfacb5e124
commit
87e8ff9c3e
3 changed files with 33 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue