[Commits] [SCM] claws branch, master, updated. 3.13.0-35-g3a611ed

claws at claws-mail.org claws at claws-mail.org
Fri Oct 23 12:20:25 CEST 2015


The branch, master has been updated
       via  3a611edf84b769aa067d8de3c6a7447d482f1c1c (commit)
      from  9154e4ca6e1eeaaa3bd83f9d906dd348916f2ffa (commit)

Summary of changes:
 AUTHORS           |    1 +
 src/gtk/authors.h |    1 +
 src/summaryview.c |    2 ++
 3 files changed, 4 insertions(+)


- Log -----------------------------------------------------------------
commit 3a611edf84b769aa067d8de3c6a7447d482f1c1c
Author: Paul <paul at claws-mail.org>
Date:   Fri Oct 23 11:20:22 2015 +0100

    fix bug 3375, 'Crash (SEGV) at gtkcmctree.c:4514 after deleting an unread message'
    
    Patch by Arthur Huillet.

diff --git a/AUTHORS b/AUTHORS
index 8d510df..06fea7e 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -305,3 +305,4 @@ contributors (in addition to the above; based on Changelog)
 	Richard Hughes
 	Daniel Jakots
 	Mikhail Kurinnoi
+	Arthur Huillet
diff --git a/src/gtk/authors.h b/src/gtk/authors.h
index 464df2f..7322609 100644
--- a/src/gtk/authors.h
+++ b/src/gtk/authors.h
@@ -162,6 +162,7 @@ static char *CONTRIBS_LIST[] = {
 "Shawn Houston",
 "Michael Hughes",
 "Richard Hughes",
+"Arthur Huillet",
 "Chideok Hwang",
 "John E.P. Hynes",
 "Hironori IWANE",
diff --git a/src/summaryview.c b/src/summaryview.c
index aace5d5..540a86f 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -3555,12 +3555,14 @@ static int msginfo_mark_as_read_timeout(void *data)
 	if (!mdata)
 		return FALSE;
 
+	summary_lock(mdata->summaryview);
 	if (mdata->msginfo == summary_get_selected_msg(mdata->summaryview))
 		msginfo_mark_as_read(mdata->summaryview, mdata->msginfo,
 				     mdata->summaryview->selected);
 	procmsg_msginfo_free(mdata->msginfo);
 
 	mdata->summaryview->mark_as_read_timeout_tag = 0;
+	summary_unlock(mdata->summaryview);
 
 	g_free(mdata);
 	return FALSE;

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list