aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-plugin.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-02 07:09:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-02 22:35:03 +0800
commit433eac7844481b8ceda0bae8bf08f6bb623185b0 (patch)
treed66a04ad4fa676b4bfce762dee09a82f4434d374 /e-util/e-plugin.c
parente6c6cbdfb5fd5723ff840b24b29690235be0d74d (diff)
downloadgsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.gz
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.bz2
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.lz
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.xz
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.zst
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.zip
More code cleanup.
Diffstat (limited to 'e-util/e-plugin.c')
-rw-r--r--e-util/e-plugin.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/e-util/e-plugin.c b/e-util/e-plugin.c
index 61cf2c5e9f..3b3d5d215d 100644
--- a/e-util/e-plugin.c
+++ b/e-util/e-plugin.c
@@ -131,7 +131,7 @@ ep_set_enabled (const gchar *id, gint state)
GCONF_VALUE_STRING, ep_disabled, NULL);
}
-static int
+static gint
ep_construct (EPlugin *ep, xmlNodePtr root)
{
xmlNodePtr node;
@@ -420,7 +420,7 @@ ep_load_plugin(xmlNodePtr root, struct _plugin_doc *pdoc)
return ep;
}
-static int
+static gint
ep_load(const gchar *filename, gint load_level)
{
xmlDocPtr doc;
@@ -445,7 +445,7 @@ ep_load(const gchar *filename, gint load_level)
pdoc->doc = doc;
pdoc->filename = g_strdup(filename);
- for (root = root->children; root ; root = root->next) {
+ for (root = root->children; root; root = root->next) {
if (strcmp((gchar *)root->name, "e-plugin") == 0) {
gchar *plugin_load_level, *is_system_plugin;
@@ -503,7 +503,7 @@ ep_load(const gchar *filename, gint load_level)
/* This loads a hook that was pending on a given plugin but the type wasn't registered yet */
/* This works in conjunction with ep_construct and e_plugin_hook_register_type to make sure
everything works nicely together. Apparently. */
-static int
+static gint
ep_load_pending(EPlugin *ep, EPluginHookClass *type)
{
gint res = 0;
@@ -988,7 +988,7 @@ static gpointer epl_parent_class;
static GList *missing_symbols = NULL;
-static int
+static gint
epl_loadmodule(EPlugin *ep, gboolean fatal)
{
EPluginLib *epl = E_PLUGIN_LIB (ep);
@@ -1070,7 +1070,7 @@ epl_get_symbol(EPlugin *ep, const gchar *name)
return symbol;
}
-static int
+static gint
epl_construct(EPlugin *ep, xmlNodePtr root)
{
EPluginLib *epl = E_PLUGIN_LIB (ep);
@@ -1234,7 +1234,7 @@ e_plugin_lib_get_type (void)
static gpointer eph_parent_class;
-static int
+static gint
eph_construct(EPluginHook *eph, EPlugin *ep, xmlNodePtr root)
{
eph->plugin = ep;
@@ -1484,7 +1484,7 @@ e_plugin_hook_id(xmlNodePtr root, const struct _EPluginHookTargetKey *map, const
static gpointer epth_parent_class;
-static int
+static gint
epth_load_plugin(gpointer d)
{
EPluginHook *eph = d;
@@ -1500,7 +1500,7 @@ epth_load_plugin(gpointer d)
return FALSE;
}
-static int
+static gint
epth_construct(EPluginHook *eph, EPlugin *ep, xmlNodePtr root)
{
EPluginTypeHook *epth = E_PLUGIN_TYPE_HOOK (eph);