[Telepathy-commits] [telepathy-salut/master] roomlist-channel: the PROP_CONFERENCE_SERVER doesn't have to be writtable
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Wed Nov 26 06:12:48 PST 2008
---
src/salut-roomlist-channel.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/src/salut-roomlist-channel.c b/src/salut-roomlist-channel.c
index eb0cd7c..b99ab07 100644
--- a/src/salut-roomlist-channel.c
+++ b/src/salut-roomlist-channel.c
@@ -231,10 +231,6 @@ salut_roomlist_channel_set_property (GObject *object,
case PROP_CONNECTION:
priv->connection = g_value_get_object (value);
break;
- case PROP_CONFERENCE_SERVER:
- /* Salut does not use a server, so this string is always empty */
- g_assert (strlen (g_value_get_string (value)) == 0);
- break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
break;
@@ -348,7 +344,7 @@ salut_roomlist_channel_class_init (
"Name of conference server to use",
"Name of conference server to use, which is an empty string for Salut",
"",
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
+ G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_CONFERENCE_SERVER,
param_spec);
--
1.5.6.5
More information about the Telepathy-commits
mailing list