mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Merge branch 'quit-handling' of git://github.com/dirkhh/subsurface
* 'quit-handling' of git://github.com/dirkhh/subsurface: Use the last (or only) filename on command line as default for saving Show the "save changes" dialog before the main window is destroyed Check for changes at regular 'quit' events as well Catch changes to the info of the current dive when quitting Tracking changes to tanks is trivial Simplistic first attempt to get changes saved when quitting subsurface
This commit is contained in:
commit
d94fb7ca6b
7 changed files with 105 additions and 13 deletions
1
dive.h
1
dive.h
|
|
@ -197,6 +197,7 @@ static inline struct dive *get_dive(unsigned int nr)
|
|||
|
||||
extern void parse_xml_init(void);
|
||||
extern void parse_xml_file(const char *filename, GError **error);
|
||||
extern void set_filename(const char *filename);
|
||||
|
||||
extern void show_dive_info(struct dive *);
|
||||
extern void flush_dive_info_changes(struct dive *);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue