summaryrefslogtreecommitdiff
path: root/loaders
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-03-14 16:23:15 +0100
committerBastien Nocera <hadess@hadess.net>2014-03-14 16:23:15 +0100
commit6ff6fcc3e22d887e2a2326d1274eddea1d505ece (patch)
tree20d386b6a6d990ba2deb145587651f190e578a21 /loaders
parent2680b37802f0364b6eac1f5bf0f1f3bbb2552133 (diff)
downloadlibpeas-6ff6fcc3e22d887e2a2326d1274eddea1d505ece.tar.gz
python: Fix coding style to match
Commit 2680b37802f0364b6eac1f5bf0f1f3bbb2552133 didn't use the same coding style as the rest of the file.
Diffstat (limited to 'loaders')
-rw-r--r--loaders/python/peas-plugin-loader-python.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/loaders/python/peas-plugin-loader-python.c b/loaders/python/peas-plugin-loader-python.c
index 2e3a4ad..c990095 100644
--- a/loaders/python/peas-plugin-loader-python.c
+++ b/loaders/python/peas-plugin-loader-python.c
@@ -292,10 +292,11 @@ peas_plugin_loader_python_garbage_collect (PeasPluginLoader *loader)
*/
run_gc_protected ();
- if (pyloader->priv->idle_gc == 0) {
- pyloader->priv->idle_gc = g_idle_add ((GSourceFunc) run_gc, pyloader);
- g_source_set_name_by_id (pyloader->priv->idle_gc, "[libpeas] run_gc");
- }
+ if (pyloader->priv->idle_gc == 0)
+ {
+ pyloader->priv->idle_gc = g_idle_add ((GSourceFunc) run_gc, pyloader);
+ g_source_set_name_by_id (pyloader->priv->idle_gc, "[libpeas] run_gc");
+ }
}
/* C equivalent of