* src/folder.c
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Thu, 4 Sep 2003 18:51:58 +0000 (18:51 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Thu, 4 Sep 2003 18:51:58 +0000 (18:51 +0000)
source folder item's GNode should already have been freed in
a previous call to src->folder->klass->remove_folder()
(should fix bug #287, "crash when moving folders")

ChangeLog.claws
configure.ac
src/folder.c

index 8a84fc6..f29fdb3 100644 (file)
@@ -1,3 +1,10 @@
+2003-09-03 [alfons]    0.9.4claws60
+
+       * src/folder.c
+               source folder item's GNode should already have been freed in 
+               a previous call to src->folder->klass->remove_folder()
+               (should fix bug #287, "crash when moving folders")
+
 2003-09-03 [thorsten]  0.9.4claws59
 
        * src/plugins/spamassassin/spamassassin_gtk.c
index 36bcd06..264930a 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=4
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=59
+EXTRA_VERSION=60
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index 10902e1..38fd83f 100644 (file)
@@ -1919,14 +1919,6 @@ gint folder_item_move_to(FolderItem *src, FolderItem *dest, FolderItem **new_ite
                return F_MOVE_FAILED;
        }
        
-       /* update rules */
-       src_node = g_node_find(src->folder->node, G_PRE_ORDER, G_TRAVERSE_ALL, src);
-       if (src_node) 
-               g_node_destroy(src_node);
-       else
-               debug_print("can't remove node: it's null!\n");
-       /* not to much worry if remove fails, move has been done */
-       
        g_free(src_identifier);
        g_free(dst_identifier);
        g_free(phys_srcpath);