diff options
Diffstat (limited to 'src/plugins/plugin.c')
-rw-r--r-- | src/plugins/plugin.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/plugin.c b/src/plugins/plugin.c index ed4c39d..42bef63 100644 --- a/src/plugins/plugin.c +++ b/src/plugins/plugin.c @@ -107,7 +107,7 @@ GPluginModule *g_plugin_module_new(const gchar *filename, GObject *ref) result->module = g_module_open(filename, G_MODULE_BIND_LAZY); -#if 0 +#if 1 if (!g_module_symbol(result->module, "get_plugin_action", (gpointer *)&__get_action)) { printf("Err plugin get_action sym\n"); @@ -144,6 +144,7 @@ GPluginModule *g_plugin_module_new(const gchar *filename, GObject *ref) if (!result->init(ref)) printf("Err loading pg\n"); + else printf("Loaded '%s' : ok (%p)\n", filename, result); return result; @@ -185,6 +186,6 @@ PluginAction g_plugin_module_get_action(const GPluginModule *plugin) bool g_plugin_module_execute_action_on_binary(const GPluginModule *plugin, GOpenidaBinary *binary, PluginAction action) { - return plugin->exec_on_bin(plugin, binary, action); + return plugin->exec_on_bin(binary, action); } |