pluma: fix enchant plugin.

This commit is contained in:
maxice8 2018-12-13 19:42:19 -02:00 committed by maxice8
parent 186bc78f8d
commit 6b245b2bbe
2 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1,14 @@
diff --git a/plugins/spell/pluma-spell-checker.c b/plugins/spell/pluma-spell-checker.c
index d33bf92..9f2bde3 100644
--- plugins/spell/pluma-spell-checker.c
+++ plugins/spell/pluma-spell-checker.c
@@ -433,7 +433,7 @@ pluma_spell_checker_add_word_to_personal (PlumaSpellChecker *spell,
if (len < 0)
len = strlen (word);
- enchant_dict_add_to_pwl (spell->dict, word, len);
+ enchant_dict_add (spell->dict, word, len);
g_signal_emit (G_OBJECT (spell), signals[ADD_WORD_TO_PERSONAL], 0, word, len);

View File

@ -1,7 +1,7 @@
# Template file for 'pluma' # Template file for 'pluma'
pkgname=pluma pkgname=pluma
version=1.20.3 version=1.20.3
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
pycompile_dirs="usr/lib/pluma/plugins" pycompile_dirs="usr/lib/pluma/plugins"
hostmakedepends="gobject-introspection mate-common hostmakedepends="gobject-introspection mate-common
@ -28,5 +28,6 @@ pluma-devel_package() {
vmove usr/include vmove usr/include
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc vmove usr/share/gtk-doc
vmove usr/share/gir-1.0
} }
} }