2007-06-21 [colin] 2.9.2cvs72
[claws.git] / src / plugins / bogofilter / bogofilter.c
index e044ac405aa641d24e0bf9b37ee9c62d69874c4c..d43a0058a4bf5bbf8918dded61754375a6d4d5e2 100644 (file)
@@ -883,7 +883,7 @@ gint plugin_init(gchar **error)
 
        hook_id = -1;
 
-       if (!check_plugin_version(MAKE_NUMERIC_VERSION(0, 9, 3, 86),
+       if (!check_plugin_version(MAKE_NUMERIC_VERSION(2,9,2,72),
                                VERSION_NUMERIC, PLUGIN_NAME, error))
                return -1;
 
@@ -937,7 +937,7 @@ FolderItem *bogofilter_get_spam_folder(MsgInfo *msginfo)
        return item;
 }
 
-void plugin_done(void)
+gboolean plugin_done(void)
 {
        if (hook_id != -1) {
                bogofilter_unregister_hook();
@@ -950,6 +950,7 @@ void plugin_done(void)
        procmsg_unregister_spam_learner(bogofilter_learn);
        procmsg_spam_set_folder(NULL, NULL);
        debug_print("Bogofilter plugin unloaded\n");
+       return TRUE;
 }
 
 const gchar *plugin_name(void)