[Commits] [SCM] claws branch, master, updated. 3.9.3-224-gf19a85f

colin at claws-mail.org colin at claws-mail.org
Fri May 23 11:29:12 CEST 2014


The branch master of project "claws" (Claws Mail) has been updated
       via  f19a85fc671e7afc72689e3d417b03cd52e34777 (commit)
      from  78b5d80a0b371d3091b0a0ff85704e3d516222a6 (commit)


- Log -----------------------------------------------------------------
commit f19a85fc671e7afc72689e3d417b03cd52e34777
Author: Colin Leroy <colin at colino.net>
Date:   Fri May 23 11:29:16 2014 +0200

    Remove draft_timeout_tag too before destroying

diff --git a/src/compose.c b/src/compose.c
index 68f29a1..9a2531a 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -8690,6 +8690,12 @@ static void compose_destroy(Compose *compose)
 		compose->deferred_destroy = TRUE;
 		return;
 	}
+
+	if (compose->draft_timeout_tag >= 0) { /* CLAWS: disable draft timeout */
+		g_source_remove(compose->draft_timeout_tag);
+		compose->draft_timeout_tag = COMPOSE_DRAFT_TIMEOUT_UNSET;
+	}
+
 	/* NOTE: address_completion_end() does nothing with the window
 	 * however this may change. */
 	address_completion_end(compose->window);

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

Summary of changes:
 src/compose.c |    6 ++++++
 1 file changed, 6 insertions(+)


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list