pluma: fix enchant plugin.
This commit is contained in:
parent
186bc78f8d
commit
6b245b2bbe
|
@ -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);
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue