aboutsummaryrefslogtreecommitdiffstats
path: root/modules/plugin-lib/e-plugin-lib.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-11-10 23:45:06 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-11-10 23:47:11 +0800
commit54fe7e3b2affbe5fd962460ec5ba6942a77b747c (patch)
tree5a3380e1ef3af206fa566b790c1377985ebad020 /modules/plugin-lib/e-plugin-lib.h
parent26889bef61bc32efd202bad6e736ac2fcaf586e0 (diff)
downloadgsoc2013-evolution-54fe7e3b2affbe5fd962460ec5ba6942a77b747c.tar.gz
gsoc2013-evolution-54fe7e3b2affbe5fd962460ec5ba6942a77b747c.tar.zst
gsoc2013-evolution-54fe7e3b2affbe5fd962460ec5ba6942a77b747c.zip
Fix EPluginLib callback signatures.
Dynamically loaded library plugins do not need to know about EPluginLib specifically. Passing them an EPlugin pointer is sufficient.
Diffstat (limited to 'modules/plugin-lib/e-plugin-lib.h')
-rw-r--r--modules/plugin-lib/e-plugin-lib.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/plugin-lib/e-plugin-lib.h b/modules/plugin-lib/e-plugin-lib.h
index b485d9625e..6ca7d697a9 100644
--- a/modules/plugin-lib/e-plugin-lib.h
+++ b/modules/plugin-lib/e-plugin-lib.h
@@ -50,14 +50,14 @@ typedef struct _EPluginLib EPluginLib;
typedef struct _EPluginLibClass EPluginLibClass;
/* The callback signature used for epluginlib methods */
-typedef gpointer (*EPluginLibFunc) (EPluginLib *ep, gpointer data);
+typedef gpointer (*EPluginLibFunc) (EPlugin *ep, gpointer data);
/* The setup method, this will be called when the plugin is
* initialized. In the future it may also be called when the plugin
* is disabled. */
-typedef gint (*EPluginLibEnableFunc) (EPluginLib *ep, gint enable);
+typedef gint (*EPluginLibEnableFunc) (EPlugin *ep, gint enable);
-typedef gpointer (*EPluginLibGetConfigureWidgetFunc) (EPluginLib *ep);
+typedef gpointer (*EPluginLibGetConfigureWidgetFunc) (EPlugin *ep);
/**
* struct _EPluginLib -