0.9.0claws80
authorChristoph Hohmann <reboot@gmx.ch>
Fri, 4 Jul 2003 20:04:21 +0000 (20:04 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Fri, 4 Jul 2003 20:04:21 +0000 (20:04 +0000)
* src/main.c
        destroy all FolderItems when shutting down to
        allow folders to clean up

ChangeLog.claws
configure.ac
src/main.c

index c6e3d49..27f5072 100644 (file)
@@ -1,3 +1,9 @@
+2003-07-04 [christoph] 0.9.0claws80
+
+       * src/main.c
+               destroy all FolderItems when shutting down to
+               allow folders to clean up
+
 2003-07-04 [melvin]    0.9.0claws79
 
        * src/gtk/gtkaspell.c
index 17fa313..5bb14fb 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws79
+EXTRA_VERSION=claws80
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 178c6a3..804bde4 100644 (file)
@@ -579,6 +579,7 @@ void app_will_exit(GtkWidget *widget, gpointer data)
 {
        MainWindow *mainwin = data;
        gchar *filename;
+       GList *list;
        
        if (compose_get_compose_list()) {
                gint val = alertpanel(_("Notice"),
@@ -625,6 +626,11 @@ void app_will_exit(GtkWidget *widget, gpointer data)
        /* save all state before exiting */
        folder_write_list();
        folder_func_to_all_folders(save_all_caches, NULL);
+       for (list = folder_get_list(); list != NULL; list = g_list_next(list)) {
+               Folder *folder = FOLDER(list->data);
+
+               folder_tree_destroy(folder);
+       }
 
        main_window_get_size(mainwin);
        main_window_get_position(mainwin);