[Commits] [SCM] claws branch, master, updated. 3.9.3-225-g5e1e3a0
colin at claws-mail.org
colin at claws-mail.org
Fri May 23 11:37:30 CEST 2014
The branch master of project "claws" (Claws Mail) has been updated
via 5e1e3a0cb3e471ec15b7503fde86a7a1f7d0ca23 (commit)
from f19a85fc671e7afc72689e3d417b03cd52e34777 (commit)
- Log -----------------------------------------------------------------
commit 5e1e3a0cb3e471ec15b7503fde86a7a1f7d0ca23
Author: Colin Leroy <colin at colino.net>
Date: Fri May 23 11:37:26 2014 +0200
Better place to remove the draft callback, where we hold the mutex
diff --git a/src/compose.c b/src/compose.c
index 9a2531a..11d8e1d 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -8691,11 +8691,6 @@ static void compose_destroy(Compose *compose)
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);
@@ -11577,6 +11572,11 @@ gboolean compose_close(Compose *compose)
return FALSE;
}
+ if (compose->draft_timeout_tag >= 0) {
+ g_source_remove(compose->draft_timeout_tag);
+ compose->draft_timeout_tag = COMPOSE_DRAFT_TIMEOUT_UNSET;
+ }
+
gtkut_widget_get_uposition(compose->window, &x, &y);
if (!compose->batch) {
prefs_common.compose_x = x;
-----------------------------------------------------------------------
Summary of changes:
src/compose.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list