From 8caa12aca1eba7f4e61b11977d9174bb1112f5e2 Mon Sep 17 00:00:00 2001 From: Alfons Hoogervorst Date: Sun, 24 Feb 2002 13:10:03 +0000 Subject: [PATCH] fix threading for null message ids, closes patch #521601, submitted by Bob Forsman --- AUTHORS | 1 + ChangeLog.claws | 7 +++++++ configure.in | 2 +- src/summaryview.c | 4 ++-- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/AUTHORS b/AUTHORS index eb35a3e00..2dd4e740c 100644 --- a/AUTHORS +++ b/AUTHORS @@ -117,3 +117,4 @@ contributors (beside the above; based on Changelog) Alessandro Maestri Neill Miller Oliver Haertel + Bob Forsman diff --git a/ChangeLog.claws b/ChangeLog.claws index f4c0de83b..83b2fccd1 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -1,3 +1,10 @@ +2002-02-24 [alfons] 0.7.2.claws10 + + * AUTHORS + * src/summaryview.c + fix threading for null message ids, closes patch #521601, + submitted by Bob Forsman + 2002-02-24 [alfons] 0.7.2claws9 * src/summaryview.c diff --git a/configure.in b/configure.in index b1aecaf99..f6462806a 100644 --- a/configure.in +++ b/configure.in @@ -8,7 +8,7 @@ MINOR_VERSION=7 MICRO_VERSION=2 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=claws9 +EXTRA_VERSION=claws10 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION dnl set $target diff --git a/src/summaryview.c b/src/summaryview.c index 4b5ee5c99..de3ee9c38 100644 --- a/src/summaryview.c +++ b/src/summaryview.c @@ -1954,7 +1954,7 @@ gboolean summary_insert_gnode_func(GtkCTree *ctree, guint depth, GNode *gnode, GTKUT_CTREE_NODE_SET_ROW_DATA(cnode, msginfo); summary_set_marks_func(ctree, cnode, summaryview); - if (msgid) + if (msgid && msgid[0] != 0) g_hash_table_insert(msgid_table, (gchar *)msgid, cnode); return TRUE; @@ -2033,7 +2033,7 @@ static void summary_set_ctree_from_list(SummaryView *summaryview, GTKUT_CTREE_NODE_SET_ROW_DATA(node, msginfo); summary_set_marks_func(ctree, node, summaryview); - if (msginfo->msgid) + if (msginfo->msgid && msginfo->msgid[0] != 0) g_hash_table_insert(msgid_table, msginfo->msgid, node); -- 2.25.1