* src/summaryview.c
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Tue, 24 Dec 2002 17:44:50 +0000 (17:44 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Tue, 24 Dec 2002 17:44:50 +0000 (17:44 +0000)
summary_thread_build(): fix real cause of the crash mentioned in
0.8.7claws3. use subject_XXX() and not g_hash_table_XXX() functions,
this way we get meaningful ctree nodes

ChangeLog.claws
configure.in
src/summaryview.c

index 8bdf6355a678f943ed643e86fec72b3272898920..4924684fc734130fce3ffa4e7b587e678a528652 100644 (file)
@@ -1,3 +1,10 @@
+2002-12-24 [alfons]    0.8.7claws7
+
+       * src/summaryview.c
+               summary_thread_build(): fix real cause of the crash mentioned in
+               0.8.7claws3. use subject_XXX() and not g_hash_table_XXX() functions,
+               this way we get meaningful ctree nodes 
+
 2002-12-24 [oliver]    0.8.7claws6
 
        * src/mainwindow.[ch]
index 721e84217f3f320aba15b4141f1d5e55cfbf4bfb..7e4b0d78dcdeb2eab42fd8187ed33e13ec0d79f9 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=7
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws6
+EXTRA_VERSION=claws7
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 0371c63003745b554db17852bd06fac9e2af2344..3d40b25cab8cf44de43483fe94821b8903a9ba8c 100644 (file)
@@ -3675,12 +3675,12 @@ static void summary_execute_delete_func(GtkCTree *ctree, GtkCTreeNode *node,
                                                msginfo->msgid)) {
                        g_hash_table_remove(summaryview->msgid_table,
                                            msginfo->msgid);
-               }                                          
+               }       
                if (msginfo->subject && *msginfo->subject && 
-                   node == g_hash_table_lookup(summaryview->subject_table,
-                                               msginfo->subject)) {
-                       g_hash_table_remove(summaryview->subject_table,
-                                           msginfo->subject);
+                   node == subject_table_lookup(summaryview->subject_table,
+                                                msginfo->subject)) {
+                       subject_table_remove(summaryview->subject_table,
+                                            msginfo->subject);
                }                                           
        }
 }