summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2008-07-01 19:33:38 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2008-07-01 19:33:38 +0000
commit6796a898e7675488247cd7a04737af196f65a392 (patch)
tree545a25dc6be2079d3057aefba125b77e971c9a23 /src
parentbc0c90860fc207dc4aadb4511b8913c1f7a49d76 (diff)
TpsipTextChannel: re-indent g_param_spec_object call, and add G_PARAM_STATIC_NAME for less strdup()ing
Diffstat (limited to 'src')
-rw-r--r--src/sip-text-channel.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/sip-text-channel.c b/src/sip-text-channel.c
index 93a5f34..f229f6f 100644
--- a/src/sip-text-channel.c
+++ b/src/sip-text-channel.c
@@ -208,13 +208,10 @@ tpsip_text_channel_class_init(TpsipTextChannelClass *klass)
object_class->finalize = tpsip_text_channel_finalize;
param_spec = g_param_spec_object("connection", "TpsipConnection object",
- "SIP connection object that owns this "
- "SIP media channel object.",
- TPSIP_TYPE_CONNECTION,
- G_PARAM_CONSTRUCT_ONLY |
- G_PARAM_READWRITE |
- G_PARAM_STATIC_NICK |
- G_PARAM_STATIC_BLURB);
+ "SIP connection object that owns this SIP media channel object.",
+ TPSIP_TYPE_CONNECTION,
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE |
+ G_PARAM_STATIC_NICK | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB);
g_object_class_install_property(object_class, PROP_CONNECTION, param_spec);
g_object_class_override_property (object_class, PROP_HANDLE_TYPE,