summaryrefslogtreecommitdiffstats
path: root/display-gtk.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2012-10-02 01:52:43 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-10-01 20:55:28 -0700
commitcfefa0206dce3e144ee51383d81a146719b64737 (patch)
tree79c86a2ef00bc860840dedd3dceaecdea47c09a8 /display-gtk.h
parent7f01b91c991e67a2a1a20a75a3ff01ad4fa6d975 (diff)
downloadsubsurface-cfefa0206dce3e144ee51383d81a146719b64737.tar.gz
Destroy the divelist (tree) before calling gtk_main_quit()
Added new function dive_list_destroy() in divelist.c Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'display-gtk.h')
-rw-r--r--display-gtk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/display-gtk.h b/display-gtk.h
index b75515232..7b2ce5f2e 100644
--- a/display-gtk.h
+++ b/display-gtk.h
@@ -74,6 +74,7 @@ extern GtkWidget *cylinder_list_widget(int w_idx);
extern GtkWidget *weightsystem_list_widget(int w_idx);
extern GtkWidget *dive_list_create(void);
+extern void dive_list_destroy(void);
unsigned int amount_selected;