[Telepathy-commits] [telepathy-gabble/master] olpc-view: unify param declaration style

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Thu Oct 9 10:27:36 PDT 2008


---
 src/olpc-view.c |   22 ++++++----------------
 1 files changed, 6 insertions(+), 16 deletions(-)

diff --git a/src/olpc-view.c b/src/olpc-view.c
index 57db548..21bb126 100644
--- a/src/olpc-view.c
+++ b/src/olpc-view.c
@@ -485,28 +485,18 @@ gabble_olpc_view_class_init (GabbleOlpcViewClass *gabble_olpc_view_class)
   g_object_class_install_property (object_class, PROP_ACTIVITIES,
       param_spec);
 
-   param_spec = g_param_spec_object (
-      "connection",
-      "GabbleConnection object",
+   param_spec = g_param_spec_object ("connection", "GabbleConnection object",
       "Gabble connection object that owns this view object.",
       GABBLE_TYPE_CONNECTION,
-      G_PARAM_CONSTRUCT_ONLY |
-      G_PARAM_READWRITE |
-      G_PARAM_STATIC_NAME |
-      G_PARAM_STATIC_NICK |
-      G_PARAM_STATIC_BLURB);
+      G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE |
+      G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB);
   g_object_class_install_property (object_class, PROP_CONNECTION, param_spec);
 
-  param_spec = g_param_spec_uint (
-      "id",
-      "query ID",
+  param_spec = g_param_spec_uint ("id", "query ID",
       "The ID of the query associated with this view",
       0, G_MAXUINT, 0,
-      G_PARAM_CONSTRUCT_ONLY |
-      G_PARAM_READWRITE |
-      G_PARAM_STATIC_NAME |
-      G_PARAM_STATIC_NICK |
-      G_PARAM_STATIC_BLURB);
+      G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE |
+      G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB);
   g_object_class_install_property (object_class, PROP_ID, param_spec);
 
   signals[BUDDY_ACTIVITIES_CHANGED] =
-- 
1.5.6.5




More information about the Telepathy-commits mailing list