[telepathy-gabble/master] Make MediaChannel:nat-traversal a CONSTRUCT property

Will Thompson will.thompson at collabora.co.uk
Fri Jun 26 12:38:03 PDT 2009


This has the side-effect of it being set to its default value if none is
provided.
---
 src/media-channel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/media-channel.c b/src/media-channel.c
index b6516e0..a44602f 100644
--- a/src/media-channel.c
+++ b/src/media-channel.c
@@ -745,7 +745,7 @@ gabble_media_channel_class_init (GabbleMediaChannelClass *gabble_media_channel_c
   param_spec = g_param_spec_string ("nat-traversal", "NAT traversal",
       "NAT traversal mechanism.",
       "gtalk-p2p",
-      G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
+      G_PARAM_CONSTRUCT | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
   g_object_class_install_property (object_class, PROP_NAT_TRAVERSAL,
       param_spec);
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list