CVS: sylpheedclaws/plugins/etpan-privacy/src plugin.c,1.1.1.1.2.9,1.1.1.1.2.10
[email protected] Fri, 15 Dec 2006 19:06:17 +0000
| Newsgroups | gmane.mail.sylpheed.claws.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /pack/anoncvs/sylpheedclaws/plugins/etpan-privacy/src
In directory sunsite.dk:/tmp/cvs-serv9473/src
Modified Files:
Tag: gtk2
plugin.c
Log Message:
2006-12-15 [ticho] 0.15.4cvs1
* configure.ac
* src/plugin.c
Use check_plugin_version() for version check.
Index: plugin.c
===================================================================
RCS file: /pack/anoncvs/sylpheedclaws/plugins/etpan-privacy/src/plugin.c,v
retrieving revision 1.1.1.1.2.9
retrieving revision 1.1.1.1.2.10
diff -u -d -r1.1.1.1.2.9 -r1.1.1.1.2.10
--- plugin.c 2006/11/27 08:13:51 1.1.1.1.2.9
+++ plugin.c 2006/12/15 19:06:14 1.1.1.1.2.10
@@ -45,16 +45,10 @@
gint plugin_init(gchar **error)
{
int r;
-
- 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, 7, 0))) {
- *error = g_strdup(_("Your Claws Mail version is too old"));
+ if( !check_plugin_version(MAKE_NUMERIC_VERSION(2, 6, 1, 41),
+ VERSION_NUMERIC, _("etPan! Privacy"), error) )
return -1;
- }
r = etpan_privacy_init();
if (r != 0) {