CVS: sylpheedclaws/plugins/vcalendar/src plugin.c,1.1.2.25,1.1.2.26
[email protected] Fri, 15 Dec 2006 20:34:37 +0000
| Newsgroups | gmane.mail.sylpheed.claws.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /pack/anoncvs/sylpheedclaws/plugins/vcalendar/src
In directory sunsite.dk:/tmp/cvs-serv8189/src
Modified Files:
Tag: gtk2
plugin.c
Log Message:
2006-12-15 [ticho] 1.91.0cvs4
* configure.ac
* src/plugin.c
Use check_plugin_version() for version check.
Index: plugin.c
===================================================================
RCS file: /pack/anoncvs/sylpheedclaws/plugins/vcalendar/src/plugin.c,v
retrieving revision 1.1.2.25
retrieving revision 1.1.2.26
diff -u -d -r1.1.2.25 -r1.1.2.26
--- plugin.c 2006/11/27 08:24:31 1.1.2.25
+++ plugin.c 2006/12/15 20:34:33 1.1.2.26
@@ -36,15 +36,9 @@
bindtextdomain(TEXTDOMAIN, LOCALEDIR);
bind_textdomain_codeset (TEXTDOMAIN, "UTF-8");
- if ((claws_get_version() > VERSION_NUMERIC)) {
- *error = g_strdup(_("Your Claws Mail version is newer than the version vCalendar was built with."));
- return -1;
- }
-
- if ((claws_get_version() < MAKE_NUMERIC_VERSION(2, 5, 2, 1))) {
- *error = g_strdup(_("Your Claws Mail version is too old for vCalendar."));
+ if (!check_plugin_version(MAKE_NUMERIC_VERSION(2, 6, 1, 41),
+ VERSION_NUMERIC, _("vCalendar"), error))
return -1;
- }
curl_global_init(CURL_GLOBAL_DEFAULT);
vcalendar_init();