[Commits] [SCM] claws branch, master, updated. 3.14.1-67-g123563c

ticho at claws-mail.org ticho at claws-mail.org
Wed Dec 21 12:58:11 CET 2016


The branch, master has been updated
       via  123563ca47cc6225791d5cff84792d9de6c312a6 (commit)
      from  596d44ce3ca6eaa3c74ec943f43103e8d25bb441 (commit)

Summary of changes:
 src/compose.c |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)


- Log -----------------------------------------------------------------
commit 123563ca47cc6225791d5cff84792d9de6c312a6
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Wed Dec 21 12:57:47 2016 +0100

    Moved compose_can_autosave() outside of #ifdef G_OS_UNIX.

diff --git a/src/compose.c b/src/compose.c
index 0147385..4ed8e21 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -9371,6 +9371,14 @@ static void compose_exec_ext_editor(Compose *compose)
 #endif /* G_OS_UNIX */
 }
 
+static gboolean compose_can_autosave(Compose *compose)
+{
+	if (compose->privacy_system && compose->use_encryption)
+		return prefs_common.autosave && prefs_common.autosave_encrypted;
+	else
+		return prefs_common.autosave;
+}
+
 #ifdef G_OS_UNIX
 static gboolean compose_get_ext_editor_cmd_valid()
 {
@@ -9493,14 +9501,6 @@ static gboolean compose_ext_editor_kill(Compose *compose)
 	return TRUE;
 }
 
-static gboolean compose_can_autosave(Compose *compose)
-{
-	if (compose->privacy_system && compose->use_encryption)
-		return prefs_common.autosave && prefs_common.autosave_encrypted;
-	else
-		return prefs_common.autosave;
-}
-
 static gboolean compose_input_cb(GIOChannel *source, GIOCondition condition,
 				 gpointer data)
 {

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list