diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-08-16 23:25:56 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-09-14 20:09:00 +0800 |
commit | 777c1cbd40eb63365f2c28e38f6a93beb2d1c9d1 (patch) | |
tree | dfab9ca8f30c7b1539f86dfe19b8bf761d6a899c /modules/plugin-lib | |
parent | 83675abbc2b3a3bc6421094a56651d021fc0cdcd (diff) | |
download | gsoc2013-evolution-777c1cbd40eb63365f2c28e38f6a93beb2d1c9d1.tar gsoc2013-evolution-777c1cbd40eb63365f2c28e38f6a93beb2d1c9d1.tar.gz gsoc2013-evolution-777c1cbd40eb63365f2c28e38f6a93beb2d1c9d1.tar.bz2 gsoc2013-evolution-777c1cbd40eb63365f2c28e38f6a93beb2d1c9d1.tar.lz gsoc2013-evolution-777c1cbd40eb63365f2c28e38f6a93beb2d1c9d1.tar.xz gsoc2013-evolution-777c1cbd40eb63365f2c28e38f6a93beb2d1c9d1.tar.zst gsoc2013-evolution-777c1cbd40eb63365f2c28e38f6a93beb2d1c9d1.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'modules/plugin-lib')
-rw-r--r-- | modules/plugin-lib/e-plugin-lib.c | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/modules/plugin-lib/e-plugin-lib.c b/modules/plugin-lib/e-plugin-lib.c index e962835ca2..8ca0fed570 100644 --- a/modules/plugin-lib/e-plugin-lib.c +++ b/modules/plugin-lib/e-plugin-lib.c @@ -35,15 +35,15 @@ static gpointer parent_class; static GType plugin_lib_type; /* TODO: - We need some way to manage lifecycle. - We need some way to manage state. - - Maybe just the g module init method will do, or we could add - another which returns context. - - There is also the question of per-instance context, e.g. for config - pages. -*/ + * We need some way to manage lifecycle. + * We need some way to manage state. + * + * Maybe just the g module init method will do, or we could add + * another which returns context. + * + * There is also the question of per-instance context, e.g. for config + * pages. + */ static gint plugin_lib_loadmodule (EPlugin *plugin) @@ -93,7 +93,8 @@ plugin_lib_loadmodule (EPlugin *plugin) } static gpointer -plugin_lib_get_symbol (EPlugin *plugin, const gchar *name) +plugin_lib_get_symbol (EPlugin *plugin, + const gchar *name) { EPluginLib *plugin_lib = E_PLUGIN_LIB (plugin); gpointer symbol; @@ -108,7 +109,9 @@ plugin_lib_get_symbol (EPlugin *plugin, const gchar *name) } static gpointer -plugin_lib_invoke (EPlugin *plugin, const gchar *name, gpointer data) +plugin_lib_invoke (EPlugin *plugin, + const gchar *name, + gpointer data) { EPluginLib *plugin_lib = E_PLUGIN_LIB (plugin); EPluginLibFunc func; @@ -131,7 +134,8 @@ plugin_lib_invoke (EPlugin *plugin, const gchar *name, gpointer data) } static gint -plugin_lib_construct (EPlugin *plugin, xmlNodePtr root) +plugin_lib_construct (EPlugin *plugin, + xmlNodePtr root) { EPluginLib *plugin_lib = E_PLUGIN_LIB (plugin); @@ -191,7 +195,8 @@ plugin_lib_get_configure_widget (EPlugin *plugin) } static void -plugin_lib_enable (EPlugin *plugin, gint state) +plugin_lib_enable (EPlugin *plugin, + gint state) { EPluginLib *plugin_lib = E_PLUGIN_LIB (plugin); EPluginLibEnableFunc enable; |