diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-05-21 20:48:11 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-21 20:48:11 -0700 |
commit | 5aa8b52f82399bd4343a8213927c7e9694def1bc (patch) | |
tree | fd1786f5b12e77da72dd2c0e6ee67b8dc943b7b7 /save-xml.c | |
parent | 6d3a4ec9b28ac794ae8e9a6231272e2ebe573af5 (diff) | |
download | subsurface-5aa8b52f82399bd4343a8213927c7e9694def1bc.tar.gz |
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>
Diffstat (limited to 'save-xml.c')
-rw-r--r-- | save-xml.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/save-xml.c b/save-xml.c index 233482969..0e770ec62 100644 --- a/save-xml.c +++ b/save-xml.c @@ -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 */ |