2006-11-27 [paul] 2.6.0cvs64
[claws.git] / src / plugins / spamassassin / spamassassin.c
index 3c7ba76d368e7d3a8fc6f1f33feae48acee9e982..6864e331fcab34dfea75b9a1da20d9e75233d086 100644 (file)
@@ -33,7 +33,7 @@
 #  include <locale.h>
 #endif
 
-#include "common/sylpheed.h"
+#include "common/claws.h"
 #include "common/version.h"
 #include "plugin.h"
 #include "common/utils.h"
@@ -465,12 +465,12 @@ gint plugin_init(gchar **error)
 
        hook_id = -1;
 
-       if ((sylpheed_get_version() > VERSION_NUMERIC)) {
+       if ((claws_get_version() > VERSION_NUMERIC)) {
                *error = g_strdup(_("Your version of Claws Mail is newer than the version the SpamAssassin plugin was built with"));
                return -1;
        }
 
-       if ((sylpheed_get_version() < MAKE_NUMERIC_VERSION(0, 9, 3, 86))) {
+       if ((claws_get_version() < MAKE_NUMERIC_VERSION(0, 9, 3, 86))) {
                *error = g_strdup(_("Your version of Claws Mail is too old for the SpamAssassin plugin"));
                return -1;
        }