CVS: sylpheedclaws/plugins/fetchinfo/src fetchinfo_plugin.c,1.4.2.12,1.4.2.13
[email protected] Fri, 15 Dec 2006 19:15:14 +0000
| Newsgroups | gmane.mail.sylpheed.claws.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /pack/anoncvs/sylpheedclaws/plugins/fetchinfo/src
In directory sunsite.dk:/tmp/cvs-serv11314/src
Modified Files:
Tag: gtk2
fetchinfo_plugin.c
Log Message:
2006-12-15 [ticho] 0.4.17cvs1
* configure.ac
* src/fetchinfo_plugin.c
Use check_plugin_version() for version check.
Index: fetchinfo_plugin.c
===================================================================
RCS file: /pack/anoncvs/sylpheedclaws/plugins/fetchinfo/src/fetchinfo_plugin.c,v
retrieving revision 1.4.2.12
retrieving revision 1.4.2.13
diff -u -d -r1.4.2.12 -r1.4.2.13
--- fetchinfo_plugin.c 2006/11/27 08:15:25 1.4.2.12
+++ fetchinfo_plugin.c 2006/12/15 19:15:09 1.4.2.13
@@ -161,15 +161,9 @@
{
gchar *rcpath;
- if ((claws_get_version() > VERSION_NUMERIC)) {
- *error = g_strdup("Your Claws Mail version is newer than the version the plugin was built with");
- return -1;
- }
-
- if ((claws_get_version() < MAKE_NUMERIC_VERSION(0, 9, 13, 25))) {
- *error = g_strdup("Your Claws Mail version is too old");
+ if (!check_plugin_version(MAKE_NUMERIC_VERSION(2, 6, 1, 41),
+ VERSION_NUMERIC, _("Fetchinfo"), error))
return -1;
- }
mail_receive_hook_id = hooks_register_hook(MAIL_RECEIVE_HOOKLIST, mail_receive_hook, NULL);
if (mail_receive_hook_id == (guint)-1) {