[Commits] [SCM] claws branch, master, updated. 3.15.0-133-ge829be8

claws at claws-mail.org claws at claws-mail.org
Tue Sep 5 17:08:36 CEST 2017


The branch, master has been updated
       via  e829be88169ea9bb61b00c02a87e198c595459a5 (commit)
      from  62686c8f6f942c79706ed12cdc97ea10aad8c016 (commit)

Summary of changes:
 configure.ac        |    2 +-
 src/gtk/gtkaspell.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit e829be88169ea9bb61b00c02a87e198c595459a5
Author: Paul <paul at claws-mail.org>
Date:   Tue Sep 5 16:08:30 2017 +0100

    fix bug 3892, 'build fails with enchant-2.1.0'
    
    bumps the minimum required version of enchant to version 1.4.0

diff --git a/configure.ac b/configure.ac
index 108d9b4..67c2a56 100644
--- a/configure.ac
+++ b/configure.ac
@@ -585,7 +585,7 @@ dnl enchant is used for spell checking
 AC_MSG_CHECKING([whether to use enchant])
 AC_MSG_RESULT($enable_enchant)
 if test $enable_enchant = yes; then
-	PKG_CHECK_MODULES(ENCHANT, enchant >= 1.0.0,
+	PKG_CHECK_MODULES(ENCHANT, enchant >= 1.4.0,
 	[
 		AC_DEFINE(USE_ENCHANT, 1, enchant)
 		echo "Building with enchant"
diff --git a/src/gtk/gtkaspell.c b/src/gtk/gtkaspell.c
index aba2969..eda682a 100644
--- a/src/gtk/gtkaspell.c
+++ b/src/gtk/gtkaspell.c
@@ -1348,7 +1348,7 @@ static void add_word_to_personal_cb(GtkWidget *w, gpointer data)
 {
    	GtkAspell *gtkaspell = (GtkAspell *) data; 
 
-	enchant_dict_add_to_pwl(gtkaspell->gtkaspeller->speller, gtkaspell->theword, strlen(gtkaspell->theword));
+	enchant_dict_add(gtkaspell->gtkaspeller->speller, gtkaspell->theword, strlen(gtkaspell->theword));
 
 	gtkaspell->ctx.check_word(gtkaspell->ctx.data);
 	gtkaspell_dict_changed(gtkaspell);

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list