aboutsummaryrefslogtreecommitdiffstats
path: root/modules/plugin-python
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-08-16 23:25:56 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-09-04 19:34:32 +0800
commitfcbbdfbd18e15b4ee8322a0217cf03a689a5e033 (patch)
treee16cd2a2279558c6a2bfb6ca39fcbaac4c85ba59 /modules/plugin-python
parentf78417c48861759d7b0c4535ecd3febe4638a7d3 (diff)
downloadgsoc2013-evolution-fcbbdfbd18e15b4ee8322a0217cf03a689a5e033.tar
gsoc2013-evolution-fcbbdfbd18e15b4ee8322a0217cf03a689a5e033.tar.gz
gsoc2013-evolution-fcbbdfbd18e15b4ee8322a0217cf03a689a5e033.tar.bz2
gsoc2013-evolution-fcbbdfbd18e15b4ee8322a0217cf03a689a5e033.tar.lz
gsoc2013-evolution-fcbbdfbd18e15b4ee8322a0217cf03a689a5e033.tar.xz
gsoc2013-evolution-fcbbdfbd18e15b4ee8322a0217cf03a689a5e033.tar.zst
gsoc2013-evolution-fcbbdfbd18e15b4ee8322a0217cf03a689a5e033.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'modules/plugin-python')
-rw-r--r--modules/plugin-python/e-plugin-python.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/plugin-python/e-plugin-python.c b/modules/plugin-python/e-plugin-python.c
index aaa6fb2b66..a00e629068 100644
--- a/modules/plugin-python/e-plugin-python.c
+++ b/modules/plugin-python/e-plugin-python.c
@@ -44,7 +44,8 @@ static gpointer parent_class;
static GType plugin_python_type;
static gchar *
-get_xml_prop (xmlNodePtr node, const gchar *id)
+get_xml_prop (xmlNodePtr node,
+ const gchar *id)
{
xmlChar *prop;
gchar *out = NULL;
@@ -77,7 +78,8 @@ plugin_python_finalize (GObject *object)
}
static gint
-plugin_python_construct (EPlugin *plugin, xmlNodePtr root)
+plugin_python_construct (EPlugin *plugin,
+ xmlNodePtr root)
{
EPluginPython *plugin_python;
@@ -124,7 +126,7 @@ plugin_python_invoke (EPlugin *plugin,
priv->pModule = PyImport_Import (pModuleName);
- Py_DECREF (pModuleName); //Free
+ Py_DECREF (pModuleName);
if (priv->pModule == NULL) {
PyErr_Print ();