Add a plugin method to allow updating stored passwords on master password change.
[claws.git] / src / plugins / gdata / gdata_plugin.c
index f7f40d806fcfdfb4bcb91e3d0d37645fdad45e9c..b383770ecfff3a321cfeb5059d8bd2c96c83dcdd 100644 (file)
@@ -97,7 +97,7 @@ gint plugin_init(gchar **error)
   gchar *rcpath;
 
   /* Version check */
-  if(!check_plugin_version(MAKE_NUMERIC_VERSION(3,7,1,55),
+  if(!check_plugin_version(MAKE_NUMERIC_VERSION(3,13,2,39),
                           VERSION_NUMERIC, _("GData"), error))
     return -1;
 
@@ -181,6 +181,11 @@ const gchar *plugin_version(void)
   return VERSION;
 }
 
+void plugin_master_password_change (const gchar *oldp, const gchar *newp)
+{
+       cm_gdata_prefs_master_password_change(oldp, newp);
+}
+
 struct PluginFeature *plugin_provides(void)
 {
   static struct PluginFeature features[] =