[Telepathy-commits] [telepathy-gabble/master] GabbleDisco: use G_PARAM_STATIC_STRINGS

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Oct 14 07:05:32 PDT 2008


---
 src/disco.c |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/src/disco.c b/src/disco.c
index 530d879..42b0870 100644
--- a/src/disco.c
+++ b/src/disco.c
@@ -128,13 +128,9 @@ gabble_disco_class_init (GabbleDiscoClass *gabble_disco_class)
   object_class->finalize = gabble_disco_finalize;
 
   param_spec = g_param_spec_object ("connection", "GabbleConnection object",
-                                    "Gabble connection object that owns this "
-                                    "XMPP Discovery object.",
-                                    GABBLE_TYPE_CONNECTION,
-                                    G_PARAM_CONSTRUCT_ONLY |
-                                    G_PARAM_READWRITE |
-                                    G_PARAM_STATIC_NICK |
-                                    G_PARAM_STATIC_BLURB);
+      "Gabble connection object that owns this XMPP Discovery object.",
+      GABBLE_TYPE_CONNECTION,
+      G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
   g_object_class_install_property (object_class, PROP_CONNECTION, param_spec);
 
   signals[ITEM_FOUND] =
-- 
1.5.6.5




More information about the Telepathy-commits mailing list