aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bogofilter
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bogofilter')
-rw-r--r--modules/bogofilter/evolution-bogofilter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/bogofilter/evolution-bogofilter.c b/modules/bogofilter/evolution-bogofilter.c
index 7d00888565..203142ace4 100644
--- a/modules/bogofilter/evolution-bogofilter.c
+++ b/modules/bogofilter/evolution-bogofilter.c
@@ -257,6 +257,9 @@ static void
bogofilter_set_convert_to_unicode (EBogofilter *extension,
gboolean convert_to_unicode)
{
+ if ((extension->convert_to_unicode ? 1 : 0) == (convert_to_unicode ? 1 : 0))
+ return;
+
extension->convert_to_unicode = convert_to_unicode;
g_object_notify (G_OBJECT (extension), "convert-to-unicode");