[telepathy-gabble/master] Add G_PARAM_CONSTRUCT to the fallback-stun-server property
Sjoerd Simons
sjoerd.simons at collabora.co.uk
Tue Jul 28 12:10:32 PDT 2009
(current) telepathy-glib adds default parameters in the parsed_params
structure, but doesn't set it in params_present. This causes the gabble
ConnectionManager implementation not to set default parameters explicitly on
the Connection. All other parameters work because they already have
G_PARAM_CONSTRUCT as a flag and have the default connection parameter as the
default for the property.
---
src/connection.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/connection.c b/src/connection.c
index d785607..db5f362 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -785,7 +785,7 @@ gabble_connection_class_init (GabbleConnectionClass *gabble_connection_class)
"fallback-stun-server", "fallback STUN server",
"Fallback STUN server.",
GABBLE_PARAMS_DEFAULT_FALLBACK_STUN_SERVER,
- 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_FALLBACK_STUN_PORT,
g_param_spec_uint (
--
1.5.6.5
More information about the telepathy-commits
mailing list