mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Remove Gtk crud
The DEBUGFILE logic isn't needed anymore. Nor are helpers dealing with model / datastructure updates. Nor conditional compiles to use Gtk instead of Qt. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6d3a4ec9b2
commit
5aa8b52f82
4 changed files with 1 additions and 68 deletions
|
@ -467,7 +467,7 @@ void save_dive(FILE *f, struct dive *dive)
|
|||
fprintf(f, " rating='%d'", dive->rating);
|
||||
if (dive->visibility)
|
||||
fprintf(f, " visibility='%d'", dive->visibility);
|
||||
if (dive->dive_tags)
|
||||
if (dive->dive_tags)
|
||||
save_tags(f, dive->dive_tags);
|
||||
|
||||
show_date(f, dive->when);
|
||||
|
@ -575,9 +575,6 @@ void save_dives_logic(const char *filename, const gboolean select_only)
|
|||
if (!f)
|
||||
return;
|
||||
|
||||
/* Flush any edits of current dives back to the dives! */
|
||||
update_dive(current_dive);
|
||||
|
||||
fprintf(f, "<divelog program='subsurface' version='%d'>\n<settings>\n", VERSION);
|
||||
|
||||
/* save the dive computer nicknames, if any */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue