[libpeas] python: Fix coding style to match
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] python: Fix coding style to match
- Date: Fri, 14 Mar 2014 15:24:01 +0000 (UTC)
commit 6ff6fcc3e22d887e2a2326d1274eddea1d505ece
Author: Bastien Nocera <hadess hadess net>
Date: Fri Mar 14 16:23:15 2014 +0100
python: Fix coding style to match
Commit 2680b37802f0364b6eac1f5bf0f1f3bbb2552133 didn't use the
same coding style as the rest of the file.
loaders/python/peas-plugin-loader-python.c | 9 +++++----
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]