From 61698b9f55514a2a2f1dcb5f89bb4fd69c019f4b Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Thu, 21 Feb 2013 03:07:20 +0200 Subject: info.c: add a method to clear all GtkListStore allocations Add a new method in info.c called info_widget_destroy(), which clears all GtkListStore instances. The method is exposed via display-gtk.h and called from gtk-gui.c:on_destroy(). Signed-off-by: Lubomir I. Ivanov Signed-off-by: Dirk Hohndel --- gtk-gui.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gtk-gui.c') diff --git a/gtk-gui.c b/gtk-gui.c index f34393cc4..4120714f1 100644 --- a/gtk-gui.c +++ b/gtk-gui.c @@ -336,6 +336,7 @@ gboolean on_delete(GtkWidget* w, gpointer data) static void on_destroy(GtkWidget* w, gpointer data) { dive_list_destroy(); + info_widget_destroy(); gtk_main_quit(); } -- cgit v1.2.3-70-g09d2