From 97acafac6ef6bc099688e5c2622edd1de3e27633 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 7 Oct 2004 14:38:09 +0000 Subject: Fix the function pointer types! 2004-10-07 Not Zed * e-plugin.h: Fix the function pointer types! svn path=/trunk/; revision=27499 --- e-util/ChangeLog | 2 ++ 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 + * 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 - -- cgit v1.2.3