From 75dba924fdd686c9827beaa633423d45c79e104f Mon Sep 17 00:00:00 2001 From: Andrej Kacian Date: Wed, 6 Apr 2016 14:53:37 +0200 Subject: [PATCH] Remove unneeded plugin_master_passphrase_change(). --- src/common/plugin.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/common/plugin.c b/src/common/plugin.c index 9822d614e..0e431902f 100644 --- a/src/common/plugin.c +++ b/src/common/plugin.c @@ -420,7 +420,6 @@ Plugin *plugin_load(const gchar *filename, gchar **error) const gchar *(*plugin_type)(void); const gchar *(*plugin_licence)(void); struct PluginFeature *(*plugin_provides)(void); - void (*plugin_master_passphrase_change) (const gchar *oldp, const gchar *newp) = NULL; gint ok; START_TIMING((filename?filename:"NULL plugin")); @@ -478,9 +477,6 @@ init_plugin: return NULL; } - /* Optional methods */ - g_module_symbol(plugin->module, "plugin_master_passphrase_change", (gpointer)&plugin_master_passphrase_change); - if (plugin_licence_check(plugin_licence()) != TRUE) { *error = g_strdup(_("This module is not licensed under a GPL v3 or later compatible license.")); if (plugin->unloaded_hidden) @@ -512,7 +508,6 @@ init_plugin: plugin->type = plugin_type; plugin->licence = plugin_licence; plugin->provides = plugin_provides; - plugin->master_passphrase_change = plugin_master_passphrase_change; plugin->filename = g_strdup(filename); plugin->error = NULL; -- 2.25.1