aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-junk-hook.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-08-27 13:41:37 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-08-27 13:41:37 +0800
commit005c303f49f2c49f02b05d7e5ce6931525d98341 (patch)
treec9d5b1ffcf0d772a419288653af77a400b2a94df /mail/em-junk-hook.c
parentcff92b519ac65c27b1695c8ba2a8d5d6ee36da2b (diff)
downloadgsoc2013-evolution-005c303f49f2c49f02b05d7e5ce6931525d98341.tar
gsoc2013-evolution-005c303f49f2c49f02b05d7e5ce6931525d98341.tar.gz
gsoc2013-evolution-005c303f49f2c49f02b05d7e5ce6931525d98341.tar.bz2
gsoc2013-evolution-005c303f49f2c49f02b05d7e5ce6931525d98341.tar.lz
gsoc2013-evolution-005c303f49f2c49f02b05d7e5ce6931525d98341.tar.xz
gsoc2013-evolution-005c303f49f2c49f02b05d7e5ce6931525d98341.tar.zst
gsoc2013-evolution-005c303f49f2c49f02b05d7e5ce6931525d98341.zip
** Fix for bug #431459 and #364700
svn path=/trunk/; revision=34113
Diffstat (limited to 'mail/em-junk-hook.c')
-rw-r--r--mail/em-junk-hook.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/em-junk-hook.c b/mail/em-junk-hook.c
index bdac680584..82c2070615 100644
--- a/mail/em-junk-hook.c
+++ b/mail/em-junk-hook.c
@@ -61,10 +61,15 @@ static const EPluginHookTargetKey emjh_flag_map[] = {
</hook>
*/
+static const char *
+em_junk_get_name (CamelJunkPlugin *csp);
static void
em_junk_init(CamelJunkPlugin *csp)
{
+ struct _EMJunkHookItem *item = (EMJunkHookItem *)csp;
+
+ ((EPluginClass *)G_OBJECT_GET_CLASS(item->hook->hook.plugin))->enable(item->hook->hook.plugin, 1);
}
static const char *