diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-09-19 22:28:42 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-09-19 22:28:42 (GMT) |
commit | 0e3059731d9687027c913135b3b856596c49a689 (patch) | |
tree | d3c3754f95c90ae50168817e6248afee6873fbf3 /plugins/mobicore/mobicore.c | |
parent | 18648e4e8763a3bc005d6fae51eae3d1528d7d29 (diff) |
Extended the prototype for matching formats in order to get it suitable for plugins.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@577 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/mobicore/mobicore.c')
-rw-r--r-- | plugins/mobicore/mobicore.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/mobicore/mobicore.c b/plugins/mobicore/mobicore.c index 087297b..8a28a76 100644 --- a/plugins/mobicore/mobicore.c +++ b/plugins/mobicore/mobicore.c @@ -54,9 +54,11 @@ G_MODULE_EXPORT bool chrysalide_plugin_init(GPluginModule *plugin, GObject *ref) { bool result; /* Bilan à retourner */ - result &= register_format_matcher(mclf_is_matching); + result = true; - result = register_format_loader("mclf", "MobiCore Load Format", g_mclf_format_new); + result &= register_format_matcher(mclf_is_matching, NULL); + + result &= register_format_loader("mclf", "MobiCore Load Format", g_mclf_format_new); return result; |