diff options
-rw-r--r-- | e-util/ChangeLog | 2 | ||||
-rw-r--r-- | e-util/e-plugin.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index eeeb8e00ea..445377bf49 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,5 +1,7 @@ 2004-10-07 Not Zed <NotZed@Ximian.com> + * e-plugin.h: Fix the function pointer types! + * e-plugin.c (epl_invoke): noop if we're disabled, and do some lifecycle stuff now, call e_plugin_lib_enable on the module if it exists. diff --git a/e-util/e-plugin.h b/e-util/e-plugin.h index 1ecc75b308..95a013c665 100644 --- a/e-util/e-plugin.h +++ b/e-util/e-plugin.h @@ -103,11 +103,11 @@ typedef struct _EPluginLib EPluginLib; typedef struct _EPluginLibClass EPluginLibClass; /* The callback signature used for epluginlib methods */ -typedef void *(EPluginLibFunc)(EPluginLib *ep, void *data); +typedef void *(*EPluginLibFunc)(EPluginLib *ep, void *data); /* The setup method, this will be called when the plugin is * initialised. In the future it may also be called when the plugin * is disabled. */ -typedef int (EPluginLibEnableFunc)(EPluginLib *ep, int enable); +typedef int (*EPluginLibEnableFunc)(EPluginLib *ep, int enable); /** * struct _EPluginLib - |