summaryrefslogtreecommitdiffstats
path: root/gtk-gui.c
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2013-01-25 09:20:05 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-25 07:30:37 -0800
commitb696c61389680b9ccf2582a445c9fd7a7e1da360 (patch)
treee85b730b596e3a72f031378a5db5861dd0b56588 /gtk-gui.c
parentff5a8b0650a10b7b111f430bcc20b324d356a8ce (diff)
downloadsubsurface-b696c61389680b9ccf2582a445c9fd7a7e1da360.tar.gz
Move get_units() to prefs.c
get_units() returns the current unit preference, thus it belongs in prefs.c rather than gtk-gui.c Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gtk-gui.c')
-rw-r--r--gtk-gui.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gtk-gui.c b/gtk-gui.c
index 18e9ae7e5..94866d9e5 100644
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -73,11 +73,6 @@ static GtkWidget *dive_profile;
GtkActionGroup *action_group;
-struct units *get_units()
-{
- return &prefs.units;
-}
-
void repaint_dive(void)
{
update_dive(current_dive);