summaryrefslogtreecommitdiff
path: root/src/plugins/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/plugin.c')
-rw-r--r--src/plugins/plugin.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/plugins/plugin.c b/src/plugins/plugin.c
index 7780f43..d309332 100644
--- a/src/plugins/plugin.c
+++ b/src/plugins/plugin.c
@@ -39,9 +39,6 @@
#include "plugin-int.h"
-#include "../core/formats.h"
-
-
/* Initialise la classe des greffons. */
static void g_plugin_module_class_init(GPluginModuleClass *);
@@ -199,7 +196,6 @@ GPluginModule *g_plugin_module_new(const gchar *filename)
uint32_t action; /* Identifiant d'une action */
uint32_t category; /* Catégorie principale */
uint32_t sub; /* Sous-catégorie visée */
- format_match_fc matcher; /* Routine de reconnaissance */
result = g_object_new(G_TYPE_PLUGIN_MODULE, NULL);
@@ -334,17 +330,6 @@ GPluginModule *g_plugin_module_new(const gchar *filename)
switch (action)
{
- case PGA_FORMAT_MATCHER:
-
- if (!load_plugin_symbol(result->module,
- "is_format_matching", &matcher))
- goto bad_plugin;
-
- if (!register_format_matcher(matcher, result))
- goto bad_plugin;
-
- break;
-
case PGA_FORMAT_LOADER_LAST:
if (!load_plugin_symbol(result->module,
"handle_binary_format", &result->handle_format))