diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-04-06 20:49:06 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-04-06 20:49:06 -0700 |
commit | 1d61955be973cfcc67f4e82a65487721a9ae84b8 (patch) | |
tree | f1e7e7a7f81da2cb77f4be8bc6d16cdf5f54ccfd /dive.h | |
parent | a412753b0a2eb6323f350e98287b004f5b3b6c5c (diff) | |
download | subsurface-1d61955be973cfcc67f4e82a65487721a9ae84b8.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: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -414,7 +414,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 */ |