2006-11-27 [paul] 2.6.0cvs64
[claws.git] / src / plugins / clamav / clamav_plugin.c
index 2367aa700fe81676f82e4b62ec266c7efcb1447d..05ee9a227e839efe1c8cfc5283d01175c944a72e 100644 (file)
@@ -27,7 +27,7 @@
 #include <glib/gi18n.h>
 #include <clamav.h>
 
-#include "common/sylpheed.h"
+#include "common/claws.h"
 #include "common/version.h"
 #include "plugin.h"
 #include "utils.h"
@@ -194,12 +194,12 @@ gint plugin_init(gchar **error)
        int ret;
        unsigned int no;
 
-       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 ClamAV 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 ClamAV plugin"));
                return -1;
        }