[Telepathy-commits] [telepathy-gabble/master] GabbleRoomlistChannel: re-indent property param specs and give them static strings
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue Aug 19 10:53:11 PDT 2008
20080606102915-53eee-ba51379f5d858662d632c6595f11f81e67214fa9.gz
---
src/gabble-roomlist-channel.c | 26 ++++++++++----------------
1 files changed, 10 insertions(+), 16 deletions(-)
diff --git a/src/gabble-roomlist-channel.c b/src/gabble-roomlist-channel.c
index 1a56626..87fd2d2 100644
--- a/src/gabble-roomlist-channel.c
+++ b/src/gabble-roomlist-channel.c
@@ -254,26 +254,20 @@ gabble_roomlist_channel_class_init (GabbleRoomlistChannelClass *gabble_roomlist_
"handle");
param_spec = g_param_spec_object ("connection", "GabbleConnection object",
- "Gabble connection object that owns this "
- "room list channel 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 room list channel object.",
+ GABBLE_TYPE_CONNECTION,
+ 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_string ("conference-server",
- "Name of conference server to use",
- "Name of the XMPP conference server "
- "on which to list rooms",
- "",
- G_PARAM_CONSTRUCT_ONLY |
- G_PARAM_WRITABLE |
- G_PARAM_STATIC_NAME |
- G_PARAM_STATIC_BLURB);
+ "Name of conference server to use",
+ "Name of the XMPP conference server on which to list rooms",
+ "",
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE |
+ G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB);
g_object_class_install_property (object_class, PROP_CONFERENCE_SERVER,
- param_spec);
+ param_spec);
param_spec = g_param_spec_boxed ("interfaces", "Extra D-Bus interfaces",
"Additional Channel.Interface.* interfaces",
--
1.5.6.3
More information about the Telepathy-commits
mailing list