+2003-08-01 [christoph] 0.9.3claws87
+
+ * src/plugins/clamav/clamav_plugin.c
+ * src/plugins/clamav/clamav_plugin_gtk.c
+ * src/plugins/dillo_viewer/dillo_viewer.c
+ * src/plugins/image_viewer/plugin.c
+ * src/plugins/mathml_viewer/mathml_viewer.c
+ * src/plugins/spamassassin/spamassassin.c
+ * src/plugins/spamassassin/spamassassin_gtk.c
+ * src/plugins/trayicon/trayicon.c
+ add version check to all plugins
+
2003-08-01 [hoa] 0.9.3claws86
+
* src/prefs_filtering.c
fixed a cosmetic bug, during creation of dialog box,
wrong widgets were shown after creation.
2003-08-01 [luke] 0.9.3claws85
+
* src/mainwindow.c
o fixed visibility of icons/mimeview after toggling separate
message/folder view (factored out some similar code too).
MICRO_VERSION=3
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=86
+EXTRA_VERSION=87
if test $EXTRA_VERSION -eq 0; then
VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
else
#include <glib.h>
#include <clamav.h>
+#include "common/sylpheed.h"
+#include "common/version.h"
#include "intl.h"
#include "plugin.h"
#include "utils.h"
gint plugin_init(gchar **error)
{
+ if ((sylpheed_get_version() > VERSION_NUMERIC)) {
+ *error = g_strdup("Your sylpheed version is newer than the version the plugin was built with");
+ return -1;
+ }
+
+ if ((sylpheed_get_version() < MAKE_NUMERIC_VERSION(0, 9, 3, 86))) {
+ *error = g_strdup("Your sylpheed version is too old");
+ return -1;
+ }
+
hook_id = hooks_register_hook(MAIL_FILTERING_HOOKLIST, mail_filtering_hook, NULL);
if (hook_id == -1) {
*error = g_strdup("Failed to register mail filtering hook");
#include <glib.h>
#include <gtk/gtk.h>
+#include "common/sylpheed.h"
+#include "common/version.h"
#include "intl.h"
#include "plugin.h"
#include "utils.h"
gint plugin_init(gchar **error)
{
+ if ((sylpheed_get_version() > VERSION_NUMERIC)) {
+ *error = g_strdup("Your sylpheed version is newer than the version the plugin was built with");
+ return -1;
+ }
+
+ if ((sylpheed_get_version() < MAKE_NUMERIC_VERSION(0, 9, 3, 86))) {
+ *error = g_strdup("Your sylpheed version is too old");
+ return -1;
+ }
+
clamav_page.page.path = _("Filtering/Clam AntiVirus");
clamav_page.page.create_widget = clamav_create_widget_func;
clamav_page.page.destroy_widget = clamav_destroy_widget_func;
#include <gtk/gtk.h>
#include <gdk/gdkx.h>
+#include "common/sylpheed.h"
+#include "common/version.h"
#include "intl.h"
#include "plugin.h"
#include "utils.h"
gint plugin_init(gchar **error)
{
+ if ((sylpheed_get_version() > VERSION_NUMERIC)) {
+ *error = g_strdup("Your sylpheed version is newer than the version the plugin was built with");
+ return -1;
+ }
+
+ if ((sylpheed_get_version() < MAKE_NUMERIC_VERSION(0, 9, 3, 86))) {
+ *error = g_strdup("Your sylpheed version is too old");
+ return -1;
+ }
+
dillo_prefs_init();
mimeview_register_viewer_factory(&dillo_viewer_factory);
#include "intl.h"
+#include "common/sylpheed.h"
+#include "common/version.h"
#include "viewer.h"
#include "viewerprefs.h"
gint plugin_init(gchar **error)
{
+ if ((sylpheed_get_version() > VERSION_NUMERIC)) {
+ *error = g_strdup("Your sylpheed version is newer than the version the plugin was built with");
+ return -1;
+ }
+
+ if ((sylpheed_get_version() < MAKE_NUMERIC_VERSION(0, 9, 3, 86))) {
+ *error = g_strdup("Your sylpheed version is too old");
+ return -1;
+ }
+
image_viewer_prefs_init();
image_viewer_init();
return 0;
#include <gtk/gtk.h>
#include <gtkmathview/gtkmathview.h>
+#include "common/sylpheed.h"
+#include "common/version.h"
#include "plugin.h"
#include "utils.h"
#include "intl.h"
gint plugin_init(gchar **error)
{
+ if ((sylpheed_get_version() > VERSION_NUMERIC)) {
+ *error = g_strdup("Your sylpheed version is newer than the version the plugin was built with");
+ return -1;
+ }
+
+ if ((sylpheed_get_version() < MAKE_NUMERIC_VERSION(0, 9, 3, 86))) {
+ *error = g_strdup("Your sylpheed version is too old");
+ return -1;
+ }
+
mimeview_register_viewer_factory(&mathml_viewer_factory);
return 0;
}
# include <locale.h>
#endif
+#include "common/sylpheed.h"
+#include "common/version.h"
#include "plugin.h"
#include "common/utils.h"
#include "hooks.h"
gint plugin_init(gchar **error)
{
+ if ((sylpheed_get_version() > VERSION_NUMERIC)) {
+ *error = g_strdup("Your sylpheed version is newer than the version the plugin was built with");
+ return -1;
+ }
+
+ if ((sylpheed_get_version() < MAKE_NUMERIC_VERSION(0, 9, 3, 86))) {
+ *error = g_strdup("Your sylpheed version is too old");
+ return -1;
+ }
+
hook_id = hooks_register_hook(MAIL_FILTERING_HOOKLIST, mail_filtering_hook, NULL);
if (hook_id == -1) {
*error = g_strdup("Failed to register mail filtering hook");
#include <glib.h>
#include <gtk/gtk.h>
+#include "common/sylpheed.h"
+#include "common/version.h"
#include "intl.h"
#include "plugin.h"
#include "common/utils.h"
gint plugin_init(gchar **error)
{
+ if ((sylpheed_get_version() > VERSION_NUMERIC)) {
+ *error = g_strdup("Your sylpheed version is newer than the version the plugin was built with");
+ return -1;
+ }
+
+ if ((sylpheed_get_version() < MAKE_NUMERIC_VERSION(0, 9, 3, 86))) {
+ *error = g_strdup("Your sylpheed version is too old");
+ return -1;
+ }
+
spamassassin_page.page.path = _("Filtering/SpamAssassin");
spamassassin_page.page.create_widget = spamassassin_create_widget_func;
spamassassin_page.page.destroy_widget = spamassassin_destroy_widget_func;
#include <glib.h>
#include <gtk/gtk.h>
+#include "common/sylpheed.h"
+#include "common/version.h"
#include "plugin.h"
#include "utils.h"
#include "hooks.h"
int plugin_init(gchar **error)
{
+ if ((sylpheed_get_version() > VERSION_NUMERIC)) {
+ *error = g_strdup("Your sylpheed version is newer than the version the plugin was built with");
+ return -1;
+ }
+
+ if ((sylpheed_get_version() < MAKE_NUMERIC_VERSION(0, 9, 3, 86))) {
+ *error = g_strdup("Your sylpheed version is too old");
+ return -1;
+ }
+
hook_id = hooks_register_hook (FOLDER_ITEM_UPDATE_HOOKLIST, folder_item_update_hook, NULL);
if (hook_id == -1) {
*error = g_strdup("Failed to register folder item update hook");