* src/folder.c
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Sat, 31 Aug 2002 09:03:31 +0000 (09:03 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Sat, 31 Aug 2002 09:03:31 +0000 (09:03 +0000)
folder_destroy(): remove mailbox from folderlist even if it has
no destroy virtual

ChangeLog.claws
configure.in
src/folder.c

index 485c7bc..ebf14f9 100644 (file)
@@ -1,3 +1,9 @@
+2002-08-30 [alfons]    0.8.2claws16
+
+       * src/folder.c
+               folder_destroy(): remove mailbox from folderlist even if it has
+               no destroy virtual
+
 2002-08-30 [alfons]    0.8.2claws15
 
        * src/folder.c
index eed0800..cb39e45 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=8
 MICRO_VERSION=2
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws15
+EXTRA_VERSION=claws16
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 33d1498..ac954fe 100644 (file)
@@ -144,9 +144,9 @@ void folder_remote_folder_init(Folder *folder, const gchar *name,
 void folder_destroy(Folder *folder)
 {
        g_return_if_fail(folder != NULL);
-       g_return_if_fail(folder->destroy != NULL);
-
-       folder->destroy(folder);
+       
+       if (folder->destroy)
+               folder->destroy(folder);
 
        folder_list = g_list_remove(folder_list, folder);