[Telepathy-commits] [telepathy-salut/master] SalutRoomlistChannel: Define the interfaces property

Sjoerd Simons sjoerd.simons at collabora.co.uk
Tue Aug 19 14:24:55 PDT 2008


---
 src/salut-roomlist-channel.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/salut-roomlist-channel.c b/src/salut-roomlist-channel.c
index 55da334..e0c1432 100644
--- a/src/salut-roomlist-channel.c
+++ b/src/salut-roomlist-channel.c
@@ -243,6 +243,13 @@ salut_roomlist_channel_class_init (
   g_object_class_override_property (object_class, PROP_HANDLE,
       "handle");
 
+  param_spec = g_param_spec_boxed ("interfaces", "Extra D-Bus interfaces",
+      "Additional Channel.Interface.* interfaces",
+      G_TYPE_STRV,
+      G_PARAM_READABLE |
+      G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NAME);
+  g_object_class_install_property (object_class, PROP_INTERFACES, param_spec);
+
   param_spec = g_param_spec_string ("target-id", "Target JID",
       "The string obtained by inspecting this channel's handle",
       NULL,
-- 
1.5.6.3




More information about the Telepathy-commits mailing list