aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/bogofilter/evolution-bogofilter.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/bogofilter/evolution-bogofilter.c b/modules/bogofilter/evolution-bogofilter.c
index 1d0c99abd4..4521b7a6a1 100644
--- a/modules/bogofilter/evolution-bogofilter.c
+++ b/modules/bogofilter/evolution-bogofilter.c
@@ -23,7 +23,6 @@
#include <camel/camel.h>
-#include <e-util/gconf-bridge.h>
#include <mail/e-mail-junk-filter.h>
/* Standard GObject macros */
@@ -505,10 +504,11 @@ e_bogofilter_interface_init (CamelJunkFilterInterface *interface)
static void
e_bogofilter_init (EBogofilter *extension)
{
- gconf_bridge_bind_property (
- gconf_bridge_get (),
- "/apps/evolution/mail/junk/bogofilter/unicode",
- G_OBJECT (extension), "convert-to-unicode");
+ GSettings *settings;
+
+ settings = g_settings_new ("org.gnome.evolution.eplugin.bogo-junk");
+ g_settings_bind (settings, "utf8-for-spam-filter", G_OBJECT (extension), "convert-to-unicode", G_SETTINGS_BIND_DEFAULT);
+ g_object_unref (settings);
}
G_MODULE_EXPORT void