diff options
author | Not Zed <NotZed@Ximian.com> | 2004-10-07 22:38:09 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-10-07 22:38:09 +0800 |
commit | 97acafac6ef6bc099688e5c2622edd1de3e27633 (patch) | |
tree | 337d943fbeb96b313cf049b72236425551d1c3f5 | |
parent | 0943a0e436c7510c39d86ab7a72a4ebbd3a876ac (diff) | |
download | gsoc2013-evolution-97acafac6ef6bc099688e5c2622edd1de3e27633.tar.gz gsoc2013-evolution-97acafac6ef6bc099688e5c2622edd1de3e27633.tar.zst gsoc2013-evolution-97acafac6ef6bc099688e5c2622edd1de3e27633.zip |
Fix the function pointer types!
2004-10-07 Not Zed <NotZed@Ximian.com>
* e-plugin.h: Fix the function pointer types!
svn path=/trunk/; revision=27499
-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 - |