summaryrefslogtreecommitdiffstats
path: root/gtk-gui.c
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-07 15:25:29 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-07 15:25:29 -0300
commit54128aa52fe5c765ce6ced8bd05611e202195d6b (patch)
tree927f6d1479bd702f581a16124f177b6be81ea39d /gtk-gui.c
parent478c24d79795b34efb42c1ac29abd8fa777b9c90 (diff)
downloadsubsurface-54128aa52fe5c765ce6ced8bd05611e202195d6b.tar.gz
Added the code to remove a dive computer.
Added the code to remove a dive computer, plus a few fixes Signed-off-by: Tomaz Canabrava <tcanabrava@kde.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 666438c33..e873fc622 100644
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -101,11 +101,6 @@ static void remember_dc(const char *model, uint32_t deviceid, const char *nickna
nn_entry->nickname = strdup(nickname);
}
-static void remove_dc(const char *model, uint32_t deviceid)
-{
- free(remove_device_info(model, deviceid));
-}
-
static GtkWidget *dive_profile;
GtkActionGroup *action_group;