summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-04-06 20:49:06 -0700
committerGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2013-04-07 17:37:09 +0200
commit983a77780c48f1f4ece425eade32663dd0e68f83 (patch)
tree20a3487091f7dbd22123b6bd87e0ab4bed3e72ff /dive.h
parent68119c5b5415c2797e11356dc8db63bd84c577cf (diff)
downloadsubsurface-983a77780c48f1f4ece425eade32663dd0e68f83.tar.gz
Separate Gtk related code from core logic: divelist
This is simplistic & brute force: any function that touches Gtk related data structures is moved to divelist-gtk.c, everything else stays in divelist.c. Header files have been adjusted so that this still compiles and appears to work. More thought is needed to truly abstract this out, but this seems to be a good point to commit this change. Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index 5daafb38c..1377b6c8f 100644
--- a/dive.h
+++ b/dive.h
@@ -410,7 +410,7 @@ static inline int rel_mbar_to_depth(int mbar, struct dive *dive)
* be able to edit a dive without unintended side effects */
extern struct dive edit_dive;
-extern gboolean autogroup;
+extern short autogroup;
/* random threashold: three days without diving -> new trip
* this works very well for people who usually dive as part of a trip and don't
* regularly dive at a local facility; this is why trips are an optional feature */